Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: area shapes

  1. #1
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    area shapes

    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

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Removed....

    Sorry;

    Do not knowingly answer questions cross-posted in numerous forums....
    Last edited by Willy Duitt; 07-11-2004 at 06:35 PM.

  • #3
    Regular Coder Vincent Puglia's Avatar
    Join Date
    Jul 2003
    Location
    where the World once stood
    Posts
    367
    Thanks
    0
    Thanked 13 Times in 13 Posts
    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
    Where the world once stood
    the blades of grass
    cut me still

  • #4
    Regular Coder Vincent Puglia's Avatar
    Join Date
    Jul 2003
    Location
    where the World once stood
    Posts
    367
    Thanks
    0
    Thanked 13 Times in 13 Posts
    add Willy's ';self.close()' to the above.

    Vinny
    Where the world once stood
    the blades of grass
    cut me still


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •