Lets say that I have a picture on my html page. Using jscript how can I click on a certain area on the picture and a second image appears.
Example:
My picture on my web page is Windows Explorer. I want to have the user click on the image where the File menu is and once clicked a second image will immediatlety appear with the actual File menu appearing..
imgname is the name of the image specified by the name parameter in the image tag. picture1 and picture2 are your images. you can use any variable name in place of pic1 and pic2. If you want to specify the click to a specific are then you need to use an image map (I just finished something just like this ).
OK, I think I know of an easy way you can do this, or there is another way. Alright you have your Explorer image. Now make another image that is only the start button, and position it where you need it to be. Then you can use that code in the image tag. If this doesnt work out for you then i'll explain image maps.
I'm at school right now but I can post all of my code when I get home. Image mapping is just the map tag. It is used to split the image into clickable regions. For what you want to do you really dont need one. My code is actually for a graphical menu that scrolls down, but its still the same thing.