Scrolling Marquee Help

User 2924428 Photo


Registered User
1,718 posts

Hey guys, I am trying to apply a color to Eric's scrolling marquee code and it's not working.. the color is not showing up..

<marquee bgcolor="#242424" loop="-1" scrollamount="2" width="100%">Horizontally Scrolling Marquee</marquee>
<div id="text" class="text">Home</div>

div.text { color: yellow; text-decoration: none; font-size:40pt; }
div.text:hover { color: green; text-decoration: none;font-size:40pt }
User 603315 Photo


Registered User
938 posts

UncleMap wrote:
Hey guys, I am trying to apply a color to Eric's scrolling marquee code and it's not working.. the color is not showing up..

<marquee bgcolor="#242424" loop="-1" scrollamount="2" width="100%">Horizontally Scrolling Marquee</marquee>
<div id="text" class="text">Home</div>

div.text { color: yellow; text-decoration: none; font-size:40pt; }
div.text:hover { color: green; text-decoration: none;font-size:40pt }


You got -1 as a loop, now I haven't used marquee for a million years but try 1 or above
User 187934 Photo


Senior Advisor
20,188 posts

link?:rolleyes:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 603315 Photo


Registered User
938 posts

Eric Rohloff wrote:
link?:rolleyes:

Does -1 mean opposite direction Eric? I cant remember and Im not at laptop
User 187934 Photo


Senior Advisor
20,188 posts

-1 is continuous looping.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 603315 Photo


Registered User
938 posts

Eric Rohloff wrote:
-1 is continuous looping.


Yeah, man it is so long since I've used Marquee tag, even when I did, it was only occasionally. Think some browsers were thinking of dropping it. Javascript is better for scrolling but not as easy, the ease of Marquee is it's strong point.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.