Name tag - Personal Loans - Find jobs - Debt Consolidation - Submit article

PDA

View Full Version : Polygon image to text field.


adamjblakey
Jun 13th 2007, 6:01 am
Hi,

What i am trying to do is have an image which is divided into several sections using polygon and when i click a part of the image i want it to fill in a text field next to it with what i have clicked.

Any ideas anyone.

Cheers,
Adam

adamjblakey
Jun 18th 2007, 7:52 am
Can anyone help with this?

Evoleto
Jun 18th 2007, 5:32 pm
I don't have the time now to write you a sample but I suggest you to make use of Image Maps (http://www.extension.iastate.edu/HTML/IMAP/) and set an OnClick (http://www.w3schools.com/jsref/jsref_onclick.asp) event to trigger a function that will ask & read the note you want to take, store it into an array (http://www.w3schools.com/js/js_obj_array.asp) and later process it as you desire.