PDA

View Full Version : scrolling text message


level200
29-03-2007, 08:39 PM
Dispite how much I hate them, my client wants a scrolling message in th etop red bar of this site http://www.level200.co.uk/gary/index.htm. the best I could find is this one: http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_118.html but I hate the look of it.

Does anyone know of a nices looking text ticker?

Also if the body css has a margin of 20 to have the body away from the top of the page, how would I get th eticker to display right over the top red bar?

Cheers
John

Piercy
29-03-2007, 09:38 PM
Dispite how much I hate them, my client wants a scrolling message in th etop red bar of this site http://www.level200.co.uk/gary/index.htm. the best I could find is this one: http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_118.html but I hate the look of it.

Does anyone know of a nices looking text ticker?



Can't you just make your own using the marquee tag? Something like
<marquee bgcolor="#000000" border="0" align="middle" scrollamount="2" direction="left" width="100%" height="20px" style=" color: #FFFFFF font-size: 14">
some text here
</marquee>

sladmin
30-03-2007, 01:48 AM
Hi John,

Take a look at www.dynamicdrive.com - They have lots of bits 'n' bobs you could use.

Ben Collier
30-03-2007, 02:02 AM
Can't you just make your own using the marquee tag? Something like
<marquee bgcolor="#000000" border="0" align="middle" scrollamount="2" direction="left" width="100%" height="20px" style=" color: #FFFFFF font-size: 14">
some text here
</marquee>

Yeah personally I'd use a marquee tag! They mean the user does not need javascript (which isn't such a problem these days but people still disable it!) Only limitations are getting it to stop when hovered over, but besides that a great tag!

Ben

level200
01-04-2007, 10:53 AM
Thanks for that

Could I style a marquee using css?

level200
01-04-2007, 10:58 AM
Looks good in IE but some problems with FF as FF wont set the width?

Piercy
01-04-2007, 07:45 PM
Thanks for that

Could I style a marquee using css?

You can set styles with the tag not sure though about CSS?