Marquee

 

Copy and paste the script segment between the <body> and </body> mark-ups, then change the text in red to meet your requirements. 

Text shown in dark green represents the text that is to scroll in the marquee.

  • Direction= UP, LEFT, RIGHT or DOWN

  • Behavior= SCROLL, SLIDE or ALTERNATE

  • Scrollamount= 1 or more pixels to scroll each time

  • ScrollDelay= speed of scrolling in 1/1000th of a second. i.e. 1000 = 1 second

  • Width= and Height= are the size of the marquee box in pixels

  • font-size= is the size of the font to be used

  • Face= the name of the font to use

  • BGColor= the background colour in Red Green Blue (RGB) hexidecimal value

  • Color= the text colour in Red Green Blue (RGB) hexidecimal value

In the preview below, preview 2 uses a DIRECTION=LEFT instruction. Otherwise it is the same.

Preview 3 uses an image mark-up rather than a text line.

 

All instructions must be enclosed within the first <Marquee....    > mark-up, and terminated with the end </Marguee>  mark-up.

 


 

<MARQUEE DIRECTION=UP BEHAVIOR=SCROLL SCROLLAMOUNT=1 SCROLLDELAY=100 LANGUAGE=VBSCRIPT WIDTH="150" HEIGHT=60 BGCOLOR="#000000">

<FONT FACE="Arial" STYLE="font-size=26pt" COLOR="#ffff00" TRUESPEED>

Text to Display</FONT></MARQUEE>

 


Sample marquee previews are shown below.

   

1 Text to Display
2 Text to Display
 

 

You can submit your code fragments to us for publication here, 

by emailing to site  at  byscript.com.