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 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2012
    Posts
    79
    Thanks
    2
    Thanked 1 Time in 1 Post

    uncommon way to trigger js

    Code:
    MAP NAME="navmap">
    					<AREA shape="poly" coords="162,252,225,252,225,315,162,315,162,252" href="\gui\visio gui2.htm">
    
    				</MAP>
    could this somehow be converted to trigger javascript upon clicking?

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,535
    Thanks
    3
    Thanked 513 Times in 500 Posts
    Code:
    <MAP NAME="navmap">
     <AREA shape="poly" coords="162,252,225,252,225,315,162,315,162,252" href="\gui\visio gui2.htm" onclick="MyFunction();return false;">
    </MAP>
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/


  •  

    Posting Permissions

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