Hi, i need to set some text scrolling across the top of my web page. I am currently using the <marquee> tag to achieve this, however i find it very jittery / jagedy... I understand that the <marquee> tag has been around for years now... is there a better system to used... would it be better to use a small js script for this as it would probably scroll the text smoother... if so does anyone have a good script to use, thanks in advance for your help...
Marquee is not outdated but the programmers and designer are using the jquery a lot for get the better fictious design and look for the websites. The jquery are gaining the better look at the market choice. Its slider and other query are giving best look to the website is well.
OUTDATED? By like a decade or MORE! MARQUEE is a proprietary tag that has NEVER been valid HTML, it has no place in any code written after 1997, but what do I know? I say the same thing about goof assed animations like scrolling text these days -- since it usually results in me screaming at the display "Oh for **** sake just show me the blasted text" Which I believe is why it was never adopted into HTML 3.2 or HTML 4, and why as a whole auto-scrolling elements are frowned upon in accessibility circles. Which is why throwing fat bloated steaming piles of manure like jQuery at it is idiotic; throwing more code at it is NOT the answer -- EVER.
Thanks for your comments... however i don't agree that scolling text should not be used... what if you have a small area on a page that only has room for one line (height) and is limited to 400px... and you need to provide one line updates... how else can you achieve this...
Move the text someplace you can show it instead of shoe-horning it into a space that's too small for it. Content should dictate layout, NOT the other way around! You're talking the HTML equivalent of cramming a size 4 shoe onto a 350 pound fat woman's size 12 foot. Unless of course you've got some re-re photoshop jockey dictating your layout when they don't know enough about HTML, CSS, accessibility norms, or the Internet as a whole to be designing jack ****. Content FIRST -- if you're even thinking layout before you have semantic markup of your content, or at least a reasonable facsimile of the content, yer doing it all wrong... no matter what the art chik-fil-a's who are slowly destroying the Internet's usefulness are telling you.
Good point... you are going to find this strange but this text scroller is positioned on the very top of my site centered and it needs to be there so my users can see what is "going on"... i will reveal the site soon and then you can analyse it
text scrollers all together are out dated to be honest. I would avoid using them as much as possible. But marquee is fine if you want an easy way out, jQuery is recommended, does it a lot smoother, and you can do a lot more with it.