SCHOOL IS A PAIN. Well, if I ever have free time I'm working on other things that are important... And I'm also trying to work on my drawing skills... I'm still dry on good ideas for GD T^T Just added 2 fanfics.
11/4/10 Excuses

Image Map Tutorial

Many people use things called Image Maps to do their splash page. On an image map, links are placed over an image.
For this tutorial, I will just make a small line of houses with 3 links. Be aware that you can use as many links as you like.

First you need the image that you want your map to be on.
Here is my image:

After you have your image, put this code where you want it to be. Fill in the places in capital letters with the info needed there.

<img src="MAP IMAGE URL" border="0" alt="" usemap="#MAP NAME"> <map name="MAP NAME"> <area shape="rect" alt="" coords="A1,A2,B1,B1" href="LINK URL"> </map>

A1 & A2 coordinates= top left corner of link
B1 & B2 coordinates= bottom right corner of link

To find the coordinates for the links, you can either use Microsoft Paint, the GIMP or Photoshop. On Paint, it shows the coordinates of your mouse pointer need the bottom right of the screen. And on GIMP, it shows the coordinates on the bottom left of the window.

Here is mine (the doors are the links and i added the target=blank so that it opens in a new window for your convenience):

<img src="http://i531.photobucket.com/albums/dd355/griffinheart1/tutbldg.png" border="0" alt="" usemap="#tutorial"> <map name="tutorial"> <area shape="rect" alt="Go to the Pok&eacute;mon Center" coords="50,143,66,160" href="map-pokecenter.php" target="_blank"> <area shape="rect" alt="Go to the Pok&eacute;mart" coords="140,145,155,160" href="map-pokemart.php" target="_blank"> <area shape="rect" alt="Go to the Pok&eacute;mon Gym" coords="230,150,250,165" href="map-gym.php" target="_blank"> </map>
(Please note that this code has been Line Wrapped. Do not Line Wrap the code when using the Image Map, for it will not work.)

Go to the Pokémon Center Go to the Pokémart Go to the Pokémon Gym

There are 2 other ways to do the map besides rectangles: circle and polygon. These go in the part after the map name tags (map name="MAP NAME")

For a polygon, you need 4 sets of coordinates, one for each corner of the link.

<area shape="polygon" coords="A1,A1,B1,B2,C1,C2,D1,D2,E1,E2" href="LINK URL">

A circle map is rather easy compared to the others. You only need one coordinate, the origin (center) coordinate, and the radius of the circle.

<area shape="circle" coords="A1,A1,RADIUS" href="LINK URL">

Vote for Us

Floatzel.Net Topsites Anime 100 Animepalm Topsites List Cavern of Mew Topsites Seafoam Island Topsites