Marquee Text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joslyn
    New Member
    • Feb 2008
    • 1

    Marquee Text

    1) Can anyone help me solve this problem by slowing the marquee text?

    2) How to stop the marquee text when the mouse over it?

    Below are the following codes need to be solved:

    <table style="backgrou nd:#000000 url();top:152px ;left:0px;width :280px;height:1 0px;border:0px" >
    <tr><td valign="top">
    <marquee direction=up scrollAmount=0s crollDelay=0 style="filter:w ave(add=0,phase =1,freq=2,stren gth=38);height: 200px">
    <center>
    <font style="font-family:comic sans ms;color:#FFFFF F;font-size:14px"><b>P ROFILE</b><br>
    <HR size=2 width=90% color="#FFFFFF" ><br>:Name:<br> YOUR NAME<br><br>:Se x:<br>MALE/FEMALE<br><br>: Race:<br>YOUR RACE<br>
    <br>:Age:<br>YO UR AGE<br><br>:Zod iac Sign:<br>SIGN<b r><br>:From:<br >CITY<br><br>:S tatus:<br>INVOL VED/SINGLE<br><br>: Interests:
    <br>WHAT YOU LIKE ETC<br><br>
    </center></font></marquee></td></tr></table>

    Many Thanks...
  • harshmaul
    Recognized Expert Contributor
    • Jul 2007
    • 490

    #2
    Hi,

    A few points.

    This is a javascript question....
    Please validate your code before posting....
    And i think marquees are depricated....

    Remember those for next time but for now heres the solution i have come up with. You will need to finish off the code... but i think you get the idea...

    Code:
    <html>
    <head>
    
    <script type="text/javascript">
    
    function sstop(elid){
     document.getElementById(elid).scrollAmount = 0;
    
    }
    </script>
    </head>
    <body>
    
    <marquee id="marqueeTag" onMouseOver="javascript:sstop('marqueeTag')">HI</marquee>
    
    </body>
    </html>
    Oh and by the way i removed all the extra from the marquee tag just kept the bare minimum, but you can build this up again in the same way you did before

    Comment

    • just a feeling
      New Member
      • Aug 2007
      • 86

      #3
      Originally posted by harshmaul
      And i think marquees are depricated....
      Yea, u r right !!! The marquee element is not part of the HTML specification and it may cause problems with some browsers. I recommend using JS intead.

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        He needs to bring himself more up to date because much of his markup is deprecated.

        Comment

        Working...