I was wondering how to make a marguee on a web page. I found several different posts about marguees, but can somebody post code, either javascript, or vbscript, that changes the font size, color, and type of the marquee?
Printable View
I was wondering how to make a marguee on a web page. I found several different posts about marguees, but can somebody post code, either javascript, or vbscript, that changes the font size, color, and type of the marquee?
Check out this link, they have several types of scroller ..Quote:
Originally posted by wolfrose
I was wondering how to make a marguee on a web page. I found several different posts about marguees, but can somebody post code, either javascript, or vbscript, that changes the font size, color, and type of the marquee?
http://www.dynamicdrive.com/dynamicindex2/index.html
Quote:
Attributes:
align - Specifies where the text around the marquee should align vertically relative to the marquee.
behavior - Specifies how the Marquee text should move.
bgcolor - Indicates a background color to be used for the Marquee text box.
direction - Specifies the direction the Marquee text should scroll.
height - Specifies the height of the Marquee box. Default value is the height of the contained text.
hspace - Specifies values for the left and right spacing margins for the outside of the Marquee.
loop - Specifies how many times the Marquee display will cycle.
scrollamount - This attribute specifies the amount of space that exists horizontally between each successive draw of Marquee text.
scrolldelay - Specifies the number of milliseconds between each successive draw of Marquee text.
truespeed - This stand alone indicates that exact SCROLLDELAY values should be honored. If this attribute is not present, all SCROLLDELAY values less than 59 are rounded to 60 milliseconds.
vspace - Specifies values for the top and bottom spacing margins for the outside of the Marquee.
width - Specifies the width of the Marquee box. Default value is the width of the screen.
Example code:
</font><p> <font size="2"><font COLOR="#0000c0"><marquee ALIGN=</font>"Top"<font COLOR="#0000c0"> LOOP=</font>"infinite"<font COLOR="#0000c0"> BEHAVIOR=</font>"slide"<font COLOR="#0000c0"> BGCOLOR=</font>"#FF0000"<font COLOR="#0000c0"> DIRECTION=</font>"left"<font COLOR="#0000c0"> HEIGHT=</font>30<font COLOR="#0000c0"> WIDTH=</font>200<font COLOR="#0000c0">></font> Marquee Sliding Text Example <font COLOR="#0000c0"></marquee></font></font><p> <font size="2">
Perfect! Thanks Mendhak
Yes, Mendhak is <perfect>
:afrog: