Marquees

Now, it's getting tricky....

A simple marquee is pretty simple; if you want to make one say "hi!' and scroll to the left with a white background, type this:

<MARQUEE BEHAVIOR=SCROLL DIRECTION=LEFT LOOP=INFINITE SCROLLAMOUNT="6" SCROLLDELAY="90">

<P>

hi!

</MARQUEE>

hi!

Now, I will show you how this thing works:

The blue "Scroll" can be replaced by the following:

hi!

hi!

The red "Left" is in which direction it scrolls. here's what else it can be:

hi!

hi!

hi!

The orange is how many times it will loop. Right now, it's on infinite, or forever. You can replace it with a number, so if you replace it with 10, it will loop 10 times, then stop. If your re-size this window after it stops scrolling, it will start up again.

hi!

Black is the speed....... You can change it to any speed you like; the lower the slower.

hi!

^^^^^^^^^ With "1"

hi!

^^^^^^^^^ With "100"

Put your text in the purple spot.

That's the bases of Marquees.... Now if you want to get all fancy........

<MARQUEE BEHAVIOR=SCROLL BGCOLOR="BLACK" DIRECTION=LEFT LOOP=INFINITE SCROLLAMOUNT="6" SCROLLDELAY="90">

<P>

<FONT COLOR="WHITE"><FONT SIZE="4"><FONT FACE="AdLib BT,Arial Black">wassuuuuup!!!!!

<A HREF="http://tahnee.mail.everyone.net">This is a link</A></FONT></FONT></FONT>

</MARQUEE><FONT COLOR="WHITE"><FONT SIZE="4"><FONT FACE="AdLib BT,Arial Black"><A HREF="http://tahnee.mail.everyone.net"></A></FONT></FONT></FONT></P>

wassuuuuup!!!!! This is a link

This one's more on personalization of fonts, links, and other things, rather than how the scrolling behavior is. Here's how it works:

The red is the background color of the marquee. You can change it to whatever you want!

wassuuuuup!!!!! This is a link

This is what color you want the font to be. Change it like the background!

wassuuuuup!!!!! This is a link

The blue is the font size. change it to what you want it.

wassuuuuup!!!!! This is a link

This is the name of the font.

wassuuuuup!!!!! This is a link

Of course, the text.

Howdy! This is a link

This would be the URL of the link. Put mailto: in place of the URL, and then an email address for an email address link. Here's an example:

wassuuuuup!!!!! This is a link

Now for changing fonts, sizes, etc....

Here, the "N" in the middle is a link....

RainboW

  <MARQUEE BEHAVIOR=SCROLL DIRECTION=LEFT LOOP=INFINITE SCROLLAMOUNT="6" SCROLLDELAY="90">

  <P>

  <B><I><U><FONT FACE="AdLib BT"><FONT COLOR="RED"><FONT SIZE="7">R</FONT></FONT></FONT></U></I></B><FONT SIZE="6"><FONT COLOR="#FF8000"><FONT FACE="Times New Roman,Times,New York">a</FONT></FONT><FONT SIZE="3"><FONT FACE="Bangle"><B><FONT COLOR="YELLOW">i</FONT></B></FONT></FONT><B><U><I><FONT SIZE="7"><FONT FACE="Charter Bd BT"><A HREF="http://dynamicdrive.com"><FONT COLOR="#007F00">n</FONT></A></FONT></FONT></I></U></B><U><FONT COLOR="AQUA"><FONT SIZE="5"><FONT FACE="Dolphin">b</FONT></FONT></FONT></U><FONT SIZE="5"><FONT COLOR="FUCHSIA"><I><FONT FACE="Chasm">o</FONT></I></FONT></FONT><FONT SIZE="7"><FONT COLOR="BLACK"><FONT FACE="Impact,Arial,Helvetica"><B>W</B></FONT></FONT></FONT>

  </MARQUEE><FONT SIZE="7"><FONT COLOR="BLACK"><FONT FACE="Impact,Arial,Helvetica"><B></B></FONT></FONT></FONT>

 

Font name Font color Bold, italic, underline size Link Link URL (use mailto: for an email address) text

This is an example of how you can combine things together. NOTICE ALL THE CLOSING TAGS!!!!!!! All the Italic, Underlines, and bolds have closing tags!!! If you are going to make a complex thing like this, remember how the closing tags work, and use them- or disaster will occur!!!!!

Back to Chapter 19