Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. Share your own thoughts and experience, accounts may be terminated for violations.

Clickable .jpg coordinates

Status
Not open for further replies.
Joined
Apr 14, 2005
Posts
3,570
Reaction score
45
Ive have a jpg and I need to make in clickable depending on where your mouse is placed by using coordinaates.

Does anyone have a link to a good site that explains how?

TIA
 
can't you just do it as your submit button:

<form>
<input type="image" src="/images/xxxx.jpgf" alt="xxxx"/>
</form>

If you look at what the form values are you should have an x and a y. dunno which corner they run from - you'll need to play.
 
The only I can see Steve is that the whole image becomes a link. I need 10 links coming from 10 different points of the image.

The links by sji seem to be the only way.
 
I presume you want to do something like I did a while ago for a previous client on Pets are welcome

The UK map is clickable by region.
 
If you email it to me with a list of the url's I don't mind doing it for you
scott [at] richmondhouse.co.uk
 
Like i've done on my Dorset website.

I think i found an example image and code by grabbing it from a site to see how it worked.

Scott's links are good!
 
yup, sorry you need to use an imagemap. I misread your original, I thought you wanted the co-ordinates of the point that had been clicked.
 
Status
Not open for further replies.
Top Bottom