Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-30-2009, 06:34 PM   PM User | #1
urbanvoice
New to the CF scene

 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
urbanvoice is an unknown quantity at this point
JavaScript Scroller Help - Alert-It Scroller

Hello,

First, thanks for all of your help on this forum it's a great service. I found the following scroller which works exceptionally for what I need except for the fact it only works in I.E. Do any of you know what I can do to make it work for Safari & Firefox?

If not do you know of another scroller that works similar to this one? The key factor to this scroller is that it does not affect my CSS background (push things out of alignment.. etc..)

Code:
<marquee id="alertit" style="position:absolute;left:0px;top:0;background-color:#FFFFE6" onMouseover="this.scrollAmount=1" onMouseout="this.scrollAmount=speed"></marquee>

<script type="text/javascript">

/*
Alert-It Scroller script- By JavaScript Kit
For this and over 400+ free scripts, visit http://www.javascriptkit.com
This notice must stay intact
*/

//Customize your message here. Use any HTML desired:
var themsg='<span style="font:italic 22px Arial;color:red;"><b>Breaking News: Microsoft Stock up 10 points! Source: <a href="http://cnn.com" target="_new">CNN</a></b></span>'
var speed=6 //speed of scroller (1-10 or more)
urbanvoice is offline   Reply With Quote
Old 09-30-2009, 06:49 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
If you don't mind a framework, jQuery has plenty of plugins that can handle this task. Here's one:

http://plugins.jquery.com/project/autoScroller
__________________
Fumigator is offline   Reply With Quote
Old 10-01-2009, 05:08 PM   PM User | #3
urbanvoice
New to the CF scene

 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
urbanvoice is an unknown quantity at this point
Exclamation News Scroller

Thanks for the reply - the scroller you provided works great but the main scroller I am looking for is an auto news scroll that automatically scrolls news horizontally. Kind of like a news flash.
urbanvoice is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:52 AM.


Advertisement
Log in to turn off these ads.