GuidesSo, You Want An Explorer Scrolling Marquee, Huh?

So, You Want An Explorer Scrolling Marquee, Huh?

Developer.com content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.


A Grasshopper walks into a bar…Bartender says, “We got a drink named after you”…Grasshopper says, “You got a drink named “Murray”?”

     Those of you using Netscape can see the hilariously funny joke in text form at the top of the screen. If you were using Microsoft Explorer, you would see it scrolling, allowing you to read the joke again and again and again. And as we all know, jokes get funnier the more you tell them.

     To start enjoying the scrolling fun, head to the Microsoft Explorer Download Page and grab yourself Internet Explorer. I have it on the same computer as my Netscape. I use it for some pages and Netscape for others. They have yet to interfere with each other.

Internet Explorer, Joe?

     Yeah, I’ve used it a good deal. I just downloaded it on a whim after reading about it in PC Magazine. I like it. It allows for a very smooth scroll of the page and the little rotating “e”/globe up on the right-hand corner is cool. I also like the fact that I can manipulate the form of it a lot more than Netscape. I only show the “BACK” and “STOP” buttons now. Plus I really like the ability to manipulate the “Favorites” section. That’s the equal to the “Bookmarks” in Netscape.
     Its downfalls are that Netscape still seems to load faster, but Explorer hasn’t crashed yet. I have a few tutorials that deal with Explorer now. This marquee tutorial is one. Here’s the main one: Explorer Commands
So, You Want Some Explorer Commands, Huh?
. It has links to the others. Go grab your own version of Explorer and you be the judge of whether it is better, worse, or equal to Netscape.


The Marquee

     Marquee? It looks like a scroll. Well… yes, it is a scroll, but the command to make it happen is “marquee”. Here are the commands I used to make the thing up above:

<MARQUEE BGCOLOR=”#80FF00″ LOOP=”infinite” >text text text</marquee>

Here’s What’s Happening:

  • MARQUEE tells Explorer a scrolling marquee is going here.
  • BGCOLOR tells the marquee what color to put behind the text.
    (You will find on:
    Hex and Word Colors Codes a bunch of color codes for you.)
  • LOOP=”infinite” tells the marquee to roll that text forever.
    (Put a number in place of “infinite” to tell it how many times it should roll.)
  • /MARQUEE ends the whole deal.

Can I Do Other Things?

     You betcha. I only used a few of the available commands. Here are a couple more. You’ll place them inside the first MARQUEE command just like the BGCOLOR and LOOP command above.

  • HEIGHT=”—-“ denotes height of the marquee. Do it in percentage of the screen height.
  • WIDTH=”—-“ denotes width of the marquee. Do it in percentage of the screen width.
  • ALIGN=”—-“ top, left, or middle in the marquee banner.
  • DIRECTION=”—-“ left or right. That’s where the text comes from. Right is default.
  • BEHAVIOR=”—-“ “scroll” is default, “slide” has the text come in and stop, “alternate” makes the text come from both sides every other time.
  • HSPACE=”—-“ tells the marquee how much space to leave on each side of the text. Denote this in pixels.
  • SCROLLAMOUNT=”—-“ tells the browser how much space between successive scrolls. Do this in pixels.
  • SCROLLDELAY=”—-“ denotes the number of milliseconds (thousands) between each scroll.
  • VSPACE=”—-“ denotes the top and bottom space before the text. Do this in pixels.

Thanks for coming. Click BACK to head back to the HTML Goodies Domain!

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories