How to implement different clickable Area on an image-page through image map?

Want to make an image map that has a value for each area that each click adds together to display a total...HELP!!!?

  • Hi, I want to have an image of a car that has a value for each part. When clicked I want the total to add up and be displayed. It can be made in HTML or built into excel but I have no ...show more

  • Answer:

    You would have to use the 'server side' imagemap processing option - that sends each mouse click to the specified URL on the server, with the pixel coordinates added to the URL. You can then store the coordinates from each click over as many selections as you want, eg. using PHP and an array stored the $_SESSION[] data. It's up to you to somehow define or map which pixels of the image relate to which values. You could display the total with each click & page update, or when the user clicks a different button. Info: http://en.wikipedia.org/wiki/Image_map#Server-side_image_map

5XWGGHVRMXPDP22ZQJVW5NJMZI at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.