Web Page Design
HTML Tutorial
PART 4: Animation & Area Maps

Click here to return to "outline" page"

Table of Contents

  1.   Animated GIF files
    1.   Constructing the animation
    2.   Placement
    3.   Issues to consider
  2.   Marquee
    1.   MARQUEE tag
    2.   Placement
    3.   Issues to consider
  3.   Area Maps
    1.   Area map overview
    2.   Area map tags
    3.   Issues to consider

A.   Animated GIF files


A - 1.   Constructing the animation


A - 2.   Placement


A - 3.   Issues to consider


B.   Marquee


B - 1.   MARQUEE tag


  • Code:

    <MARQUEE 
    DIRECTION=LEFT 
    BEHAVIOR=SCROLL 
    SCROLLAMOUNT=10 
    SCROLLDELAY=200>
    This is a scrolling marquee.
    </MARQUEE>
    

  • Example:
    This is a scrolling marquee.

B - 2.   Placement

  • Size
  • Continuous vs. one to several iterations
  • Like any other picture

B - 3.   Issues to consider

  • User considerations
  • Clutter vs. purpose
  • Design & Interest

C.   Area Maps


C - 1.   Area map overview

  • An "area map" is an image which has been created so that the viewer may "click" on certain parts of the image which will make a hyperlink to some other topic or page.

  • For example, you could have a picture of the United States. When the user "clicks" on a particular state, control will "jump" to a topic dealing with that state.

  • To create an image map, programming can be on the "server" or in the HTML program which is the "client." Having "server side" programming requires coordination with your ISP and is more complex. We will discuss only client side programming which is HTML code in your HTML program.

C - 2.   Area map tags

  • Code:
    On the world map, make a selection . . .<br>
    <ul>
    <li>Click on North America and go to test1.htm
    <li>Click on South America and go to test1.htm
    <li>Click on Africa and go to test2.htm
    <li>Click on Asia and go to test2.htm
    <li>Click on Australia and go to test1.htm
    </ul>
    <!- The map is 472 pixels wide (X) and 271 pixels high (Y) ->
    <MAP NAME="map1">
    <!- click on North America and go to ann.htm ->
    <AREA SHAPE="CIRCLE" COORDS="100, 120, 70" HREF="test1.htm""> 
    <AREA SHAPE="CIRCLE" COORDS="150, 215, 70" HREF="test1.htm"> 
    <AREA SHAPE="CIRCLE" COORDS="250, 180, 70" HREF="test2.htm"> 
    <AREA SHAPE="CIRCLE" COORDS="330, 108, 80" HREF="test2.htm"> 
    <AREA SHAPE="CIRCLE" COORDS="405, 225, 40" HREF="test1.htm"> 
    </MAP>
    <IMG BORDER=0 SRC="world.gif" USEMAP="#map1">
    

  • Example:
    On the world map, make a selection . . .
    • Click on North America and go to test1.htm
    • Click on South America and go to test1.htm
    • Click on Africa and go to test2.htm
    • Click on Asia and go to test2.htm
    • Click on Australia and go to test1.htm


    C - 3.   Issues to consider

    • User considerations
    • Clutter vs. purpose
    • Design & Interest

    Return to top of page