I got a simple question, I want to add a simple scrolling up text to my website, my question is, should i use marquee tag for this? how’s the support for it?
Don’t really care about validation as long as it works out.
What I was saying was “Don’t use moving text that can’t be paused/turned off.” This is difficult, if not impossible, to achieve consistently cross-browser with marquee, but can be done with JS, so that’s a better choice in the circumstances.
Another note on marquee: Chrome browser never had full support for it. Things like rate and setting the width and wrapping I believe were poorly or not supported in Chrome.
Another option for scrolling text is Flash. This might be more useful depending on your targetted group. The ConAgra website used to use Flash to scroll a menu of options. Users without Flash got what was sitting behind it: a non-scrolling menu (another reason NoScript plugin is awesome).
My innernets is slow. They made a big mistake with the menu on that site. I had white text on a white background waiting for the black image to load. Shame shame, never rely on an image for text contrast.
Their scroller is very jumpy for me… probably because with my connection strangely so slow, advertisement js is probably clogging mah tubes. They would have done better with a simple replace rather than a scroll, like train stations do with the old-fashioned signs.
Sorry - I was only using the site as an example of scrolling text with decent controls. I’d never hold that site up as a shining example of anything, especially not accessibility - although it’s vastly better than their previous site.
If you really want to get cross, trying finding out ferry times with a screen reader…
yeah i used a .js file (1kb only in size after packing) to achieve that, it has support to stop/start the text on mouseover/out aswell as provides the ability to change the speed of text.
here it is if anyone else is interested:
To what purpose? I thought we’d already established in this thread that <marquee> is a bad choice, so what does your code have to offer here? Are you suggesting it as an improvement on ulthane’s script or what?