...

View Full Version : area shapes



ddragas
07-11-2004, 02:42 PM
Hi all.

Is it posible to be done with javascript that from child window (where is image with area shapes) when user click on area shape, in form list/menu element (in parent window) value changes to area shape name and close child window

Don't know if I've explained my problem enough.

Thank you

Willy Duitt
07-11-2004, 04:27 PM
Removed....

Sorry;

Do not knowingly answer questions cross-posted in numerous forums....

Vincent Puglia
07-11-2004, 04:28 PM
Hi,

since this:

document.formname.selectname.selectedIndex='someNumber'

is how you would change it within the window.

this:

opener.document.formname.selectname.selectedIndex='someNumber'

is how you do it from the child window. Simply plug in the appropriate numbers & and element names and call it from an onclick event handler within the area map

Vinny

Vincent Puglia
07-11-2004, 04:30 PM
add Willy's ';self.close()' to the above.

Vinny



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum