Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2013
    Posts
    115
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Marquee not repeating/looping

    Code:
    <marquee id="marqueeS" class="marqueeScroll" scrollamount="1" align="top" direction="up" height="100%" onmouseover="this.stop();" onmouseout="this.start();" loop="100">
    				
    				<p>Content Here</p>
    			</marquee>
    Im using php to draw content from a table into the paragraph tags inside the marquee.

    The Marquee does not loop.

    I added a mouseover function to stop the scroll and a mouseout function to start scrolling again. I added a loop="100" to see if it would loop and still doesnt.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,471
    Thanks
    0
    Thanked 634 Times in 624 Posts
    There is no such thing as a <marquee> tag.

    To get a marquee effect you should be using JavaScript.

    http://www.felgall.com/jstip109.htm
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    820
    Thanks
    10
    Thanked 78 Times in 76 Posts
    If you still insist on using the marquee tag, take a look at this page. Be sure to read the warning.
    ☠ ☠RON☠ ☠


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •