mdissel
27 May 2008, 2:26 AM
On a single page i'm rendering several divs with a unique ID. When the user right clicks on one of these divs it should popup a (dynamic ajax based) contextmenu..
What is the most efficient way of setting this up?
- register a right click on every div that should have a popup
- register a right click on the document body and check if the element has some class / id ..
It's also possible that these divs are rendered inside a column in a grid....
Thanks
Marco
What is the most efficient way of setting this up?
- register a right click on every div that should have a popup
- register a right click on the document body and check if the element has some class / id ..
It's also possible that these divs are rendered inside a column in a grid....
Thanks
Marco