|
When a browser does not recognize one HTML tag or the other, the user will see stationary, static text in the same font as the rest of the page. Basic MarqueesThe tags to make a basic marquee, which will scroll
steadily from right to left and do nothing else, is Marquee ColorTo change the background color of a marquee, type: Marquee WidthSometimes you may need a marquee that
doesn't scroll across an entire page. This is acomplished
using the same attribute employed to resize any object (width="#").
The # can be either a number of pixels, or a percentage
of page width. The following marquee has a page width of
60%. Marquee DirectionWhile it is usually easier to read text that scrolls
from right to left (the first letter shows up first that
way), occasionally you might want to reverse the
direction of a marquee. To do this, simply type: | |
Marquee LoopA normal marquee will loop continuously, but sometimes,
you may want to stop it after a while (marquees can get
annoying, especially if there are many of them on a page).
To do this, type Marquee BehaviorThis useful tag makes a marquee scroll in different
ways (Mysterious Ways? Sorry). I know of two different
"behaviors". There may be more, but I cannot
say for sure. There are two very important notes to add to this section: First, the "slide" behvior will be interpreted differently by older versions of Internet explorer. IE 3.0 will make the marquee slide across the screen once and stop; 4.0 will scroll across, and then jump back to the other side of the screen and do it again; version 5.0 will treat this tag the same as 3.0 did. Why this has reverted, only Microsoft knows. Note that in the exapmle of "slide" above, I have added a "loop" command to that the text won't stop after one pass, thus denying you the chance to see the tag in action. Second, you must be careful when spelling "behavior"; if you spell it "behaviour", the tag will not function properly. Marquee ScrolldelayThis command sets a number of milliseconds between
each scroll of a given Marquee. This has the visible
effect of slowing down the speed of the marquee. The
command looks like this: Marquee ScrollamountThis command is similar in mechanics to scrolldelay,
except that it specifies a number of pixels between
scrolls instead of milliseconds. This has the effect of
creating extra space off the screen that the marquee must
scroll through before it will loop around for another
pass. The HTML looks like this: HTML tags in MarqueesVersion 3.0 of Internet Explorer will not recognize HTML tags that are inside of a marquee command, versions 4.0 and newer will...sometimes. I have been unable to find out what causes some version 4+ browsers to allow this and others to deny it. It all depends upon what version of Explorer your guest is using, as well as some other cosmic force(s). Written like this:
The listed font changes may or may not function. However, if you put the tags for the font change outside of the marquee command, all the tags will be recognized by all existing versions of Internet Explorer.
Graphics as MarqueesThis is a nifty little feature that I
discovered quite by accident. The
This image looks good as is, but it is
even cooler when we add | |