Right Click Menu in IMG --> MAP --> AREA --> Cordinates
I am facing a tricky situation. Let me explain it :-)
I created a IMG tag with that pointing to a bitmap file.
Now i created a MAP tag and inside that did the AREA tag and defined certain coordinates that's clickable to user. User can click and inside the "onclick" i defined a JS function that gets triggered. Upto this part everything is working awesome.
The challenge now is, i want to be able to show a custom defined menu when user right click on the coordinates inside the image. How can i do that?
Left click is handled inside "onclick", but how about right click?
Is that possible to do? If yes, how?
Thanks in advance.
The problem is that AREA tag doesn't have an event for oncontextmenu. So am not able to capture the right-click inside the particular coordinates.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)