Location of Cursor when Clicking an Image

Soldato
Joined
18 Oct 2002
Posts
14,222
Location
Sandwich, Kent
I need to make an image on my website site, but depending where the user click, it opens up a different URL.

I know this can be done, but I can't find out how, or what its called.

Can anyone help or suggest where I can find help on it.
 
Bug One said:
I need to make an image on my website site, but depending where the user click, it opens up a different URL.

I know this can be done, but I can't find out how, or what its called.

Can anyone help or suggest where I can find help on it.

image map ?
 
hotspots/image map

if you have dreamweaver insert an image into a document and in the 'properties' panel you with see a blue square, circle and triangle. You can use these to draw over the image where you would like the links.

Or

Use photosoph to slice up the image and then lay them out in a html document and wrap a tags round the specific images.
 
HTMLHugo said:
image map ?
homer-doh.jpg


Knew it'd be something simple. Cheers dude.
smiley.gif


if you have dreamweaver insert an image into a document and in the 'properties' panel you with see a blue square, circle and triangle. You can use these to draw over the image where you would like the links.
I'm doing this in php back end, so I'll have to write it in code. May use dreamweaver like this to generate the html though. Thanks for the tip.
 
Bug One said:
I'm doing this in php back end, so I'll have to write it in code. May use dreamweaver like this to generate the html though. Thanks for the tip.

Yea use dreamweaver to get the code you need, as image map will give you the coordinates you need, then insert it where you need it in your php. That is what i do :)
 
Back
Top Bottom