The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> HTML Programming
|
Is Marquee Now Out Dated
Discuss Is Marquee Now Out Dated in the HTML Programming forum on Dev Shed. Is Marquee Now Out Dated HTML Programming forum covering discussions of HTML and XHTML, as well as HTML-related issues such as writing W3C Compliant code. Use HyperText Markup Language for building websites.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

September 11th, 2012, 11:06 AM
|
|
Contributing User
|
|
Join Date: Sep 2011
Posts: 189
Time spent in forums: 15 h 55 m 34 sec
Reputation Power: 2
|
|
|
Is Marquee Now Out Dated
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...
|

September 11th, 2012, 11:28 AM
|
|
|
It looks like marquee tag has been deprecated for quite sometime now.
I found this LINK that may help you.
|

September 11th, 2012, 01:45 PM
|
|
|
its been outdated for a long time now
I do have a good one I am using, you can see it in action here
the code you need to make this work is below
the class needs to be around the text you want to animate
PHP Code:
<div class="autoScroller-container" style="overflow:auto;height:your choice">
<div id="your-choice">
</div>
</div>
then add this code below everything else except put it right above your ending body tag and change the id to the one you use to hold the text you want to animate
PHP Code:
<script type="text/javascript">
$(window).load(function(){autoScroller('your-id')});
</script>
next add these files to your head
PHP Code:
<script type="text/javascript" src="http://troop557.vacau.com/src/javascript/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="http://troop557.vacau.com/src/javascript/jquery.timers.js"></script>
<script type="text/javascript" src="http://troop557.vacau.com/src/javascript/jquery.autoScroller.js"></script>
|

September 11th, 2012, 02:41 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
Quote: | Originally Posted by oo7ml 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... |
The <marquee> tag was a non-standard tag invented by Microsoft and was IE specific originally (Netscape didn't support it, neither did opera and I think it was only supported after IE 4.01 or something like that), which is why I never used it. Javascript was the cross-platform way to go if you wanted scrolling text.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
|

September 11th, 2012, 03:10 PM
|
 |
CSS & JS/DOM Adept
|
|
Join Date: Jul 2004
Location: USA
|
|
|

September 11th, 2012, 03:20 PM
|
|
Contributing User
|
|
Join Date: Sep 2011
Posts: 189
Time spent in forums: 15 h 55 m 34 sec
Reputation Power: 2
|
|
|
Cool, thanks Kravvitz... i thought it would be easy to find a really up to date script for this but can't find many online... the script you provided is good but it is a little jagedy too... i see you are available for hire... would you be interested in working on a smoother scroll...
|

September 11th, 2012, 03:23 PM
|
|
Contributing User
|
|
Join Date: Sep 2011
Posts: 189
Time spent in forums: 15 h 55 m 34 sec
Reputation Power: 2
|
|
|
These look good:
http://codecanyon.net/item/scrolling-tweet-ticker/103951?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=scottlangendyk
http://codecanyon.net/item/jquery-marquee-animation-plugin/236431?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=Fusiondevs
|

September 11th, 2012, 05:16 PM
|
|
|
Quote: | Originally Posted by Kravvitz Don, that script is 10 years old! |
lol...that doesn't surprise me. I basically just posted the first google result that was on-topic.
I've used a few of the examples from that site in the past with positive results, so, I figured it'd work fine in this case , too. 
|

September 11th, 2012, 05:52 PM
|
 |
CSS & JS/DOM Adept
|
|
Join Date: Jul 2004
Location: USA
|
|
Quote: | Originally Posted by oo7ml These look good:
http://codecanyon.net/item/scrolling-tweet-ticker/103951?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=scottlangendyk
http://codecanyon.net/item/jquery-marquee-animation-plugin/236431?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=Fusiondevs |
The first one only slows down onmouseover and the second doesn't react at all. In my opinion (and for WCAG, accessibility, compliance), there must be a way to completely stop the animation. It would be even better if there was something to click to stop the animation in addition to moving the mouse cursor over it. I don't like text scrollers like that, so thanks for the offer, but I must decline. Besides, one can't do much to control how smooth the animation is, that really depends on the web browser and the device it's running on.
Quote: | Originally Posted by DonR lol...that doesn't surprise me. I basically just posted the first google result that was on-topic.
I've used a few of the examples from that site in the past with positive results, so, I figured it'd work fine in this case , too.  |
DynamicDrive is a mixed bag. They have a few decent scripts, but they also have a lot of very old scripts too.
|

September 18th, 2012, 01:19 AM
|
|
Contributing User
|
|
Join Date: Aug 2012
Posts: 43
Time spent in forums: 8 h 47 m 10 sec
Reputation Power: 1
|
|
|
Yes!! Its outdated.... And please if possible try to avoid that code.
Last edited by micheal.burns1 : September 24th, 2012 at 04:58 AM.
|

September 25th, 2012, 10:21 PM
|
|
Registered User
|
|
Join Date: Feb 2012
Location: India
Posts: 14
Time spent in forums: 6 h 11 m 50 sec
Reputation Power: 0
|
|
|
The marquee tag has never been valid. It’s been outdated for a long time.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|