views:

188

answers:

4

Ok heres my deal, I have a marquee like this:

<marquee style=";position:absolute;left:608;top:10;
font-family:Arial;font-size:24pt;
color:#FFFFFF;height:153;
"scrollamount="4" direction="down">
<a href="http://www.google.com"&gt;google&lt;/a&gt;&lt;/marquee&gt;

Now for some reason this link is unclickable! It looks like a link but it doesn't act like one. Any way I could make this work guys?

By the way, using FF 3.5

Ok just to show you guys the amount of marquees i'm dealing with go to:

www.letsgettagged.tk, it's not for real but I just needed something to use my idea on. I'm still going to add more scrollers but this is what I put together really fast.

+4  A: 

Don't use a marquee to make things scroll - use JavaScript. Here's two popular ones:

[Marquee] is deprecated by the W3C and not advised by them for use in any HTML documents.

Marquee is not officially supported in any browser but IE - any others that do aren't guaranteed to keep doing so, and will probably be dropped at some point since Microsoft is getting over their "let's make totally non-standard stupid tags that break the web" phase.

Rex M
Well normally I would, except I'm using a lot of these marquees, like 30. So I don't want a huge amount of java code taking up my page.
Tony C
@Tony it's not a "huge amount" of javascript code - it's a few small lines in the top or bottom which hook in to normal HTML and make it scroll at load time.
Rex M
@Rex M, ok i'll try it, but the main purpose of this page is to be more css than anything else.
Tony C
A: 

Works in Firefox 3.5. Perhaps you should upgrade or tell us which browser you are using or use JavaScript to make things scroll.

Jake
A: 

I don't know why this happens, but I could resolve this issue just stopping the scroll down efect of marquee.

So, to resolve it, do something like:

<marquee scrollamount="4" direction="down">
<a href="http://www.google.com" 
   onmouseover="this.parentNode.stop()" 
   onmouseout="this.parentNode.start()">google</a>
</marquee>
Cleiton
@Cleiton, Worked great on a test page! I'm going to try it out on the main page now.
Tony C
@Cleiton, Well when I tried it in the main page I was using it looked the same as every other link
Tony C
@Tony, i'm sorry, but i dint understand what you meant.
Cleiton
A: 

Simple answer: Don't use the marquee tag. It's deprecated.

Use alternatives such as this one using jquery.

marcgg