Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Scrolling marquee

Posted by: Rigit Aug 2 2011, 12:11 AM

I've got a scrolling marquee on my website that also contains a link. The marquee itself is recognized by all browsers and so is the link. But Apple Safari and Google Chrome will not alternate. The text goes all the way to the left and just stays there. Here is the code:

/span>
<marquee behavior="alternate" direction="left"
bgcolor="#99FFFF" scrollamount="4"
onmouseover="this.stop()" onmouseout="this.start()()"><font
color="#ff9900" size="+2"><a
href="http://www.crlwc.com/picnic.html">Celebrate
Recovery is having a picnic! Click here for details</a></font></marquee>

I tried to remove the direction left part but it had no effect on getting the text to move. I'm new at HTML and most of this kind of techy stuff I get by Google. I've learned what it means more or less and I can manipulate things to get them to do what I want. Just not with this. I've tried everything. Juggling with the wording, adding commands and stuff but to no avail. Suggestions?

Posted by: Darin McGrew Aug 2 2011, 12:39 PM

I recommend that you get rid of the marquee. It just distracts from the other content on the page, and makes the content in the marquee itself harder to read. Adding a link to the marquee just makes it worse. Not everyone has perfect hand-eye coordination.

Posted by: pandy Aug 2 2011, 02:06 PM

That other browser than IE has started to support MARQUEE doesn't mean they necessarily support all features of it.

Posted by: Rigit Aug 2 2011, 04:01 PM

QUOTE(Darin McGrew @ Aug 2 2011, 12:39 PM) *

I recommend that you get rid of the marquee. It just distracts from the other content on the page, and makes the content in the marquee itself harder to read. Adding a link to the marquee just makes it worse. Not everyone has perfect hand-eye coordination.


The way it's coded, putting the mouse anywhere within the marquee stops the marquee movement. Hand eye coordination isn't needed. The marquee isn't my preference either but I don't always have final say on the page design. Usually but in this case not.

Posted by: pandy Aug 2 2011, 05:10 PM

Yeah, yeah. It boils down to that MARQUEE is non standard and so are the implementations of it. Other browsers mysteriously added support for MARQUEE when people basically had stopped to use it already, so they probably didn't go all the way and never will.

Posted by: Frederiek Aug 3 2011, 03:07 AM

Or use javascript (works in Safari/Mac): http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm .
Of course, javascript has to be enabled in the user's browser.

Posted by: Rigit Aug 10 2011, 12:08 PM

QUOTE(pandy @ Aug 2 2011, 05:10 PM) *

Yeah, yeah. It boils down to that MARQUEE is non standard and so are the implementations of it. Other browsers mysteriously added support for MARQUEE when people basically had stopped to use it already, so they probably didn't go all the way and never will.


Like I said, the marquee isn't to my liking in this case either. I don't have final say this time. This marquee is advertising a special event and we want to catch peoples eye. I worked it out as far as getting it to work in all browsers for the most part. While Google Chrome does support the marquee tag, it doesn't support the "alternate" instruction. All other browsers do so I've left it as is. On the events page there is an upward scrolling marquee that is of my doing. I think it's an efficient way to report the news. I'm teaching myself HTML on the fly here. So I'd appreciate some patience please. I know that CSS and JAVA are better ways of doing things sometimes but I have to learn one thing at a time.

Posted by: pandy Aug 10 2011, 12:20 PM

Sure, use it all you want. I'm just telling you WHY things are as they are.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)