![]() |
| |||
| image mapping.. |
| |||
| You can make an image map very quickly by following the steps below. This protocol assumes you have access to a web servable image, and a text editor for the html page you want to make the image map for. What you need: a gif or jpg image. an idea/plan of what geometric shapes you want to divide your image into. a list of URLs that you want each geometric shape to map to. a web browser to use the imagemapper and see the result. a text editor to edit the page you want to put the image map into. The method below is for client side image maps (the html page will hold all the information for your map). What to do: Open your HTML page in your favorite HTML editor. Select the html stuff below, copy it, paste it into your HTML page. Edit the HTML for the client side image map by adding your own values. Place the web address (URL) for your image in the img src tag. replace the sample rectangle HTML stuff with your own shapes and URLS to point to in each <area> tag. Add or delete tags as you see fit. Now you simply need to fill in the coordinates for all your shapes from the image. This is the next step. Place the URL for your image into this box: Get ready to click on the places that define the coordinates of the shapes in your image. (i.e. to define a rectangle click on the upper left corner, note the result, then click on the lower right corner, and note the result.). Push this button. You'll get a page with your image in it. Clicking on your image will show you the location (x,y) of your mouse clicks. Place the values returned from your mouse clicks into the coordinate locations of the <area> tags. Save the results, and test your imagemap. Congratulations! You're done. |
| Thread Tools | Search this Thread |
| Display Modes | |
| |