Side navigation
#4584 closed enhancement (invalid)
Opened April 23, 2009 02:55PM UTC
Closed November 11, 2010 04:34AM UTC
Append "contextmenu" event feature
Reported by: | harobed | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | event | Version: | 1.3.2 |
Keywords: | contextmenu | Cc: | |
Blocked by: | Blocking: |
Description
Example of use :
<html> <head> <script type="text/javascript" src="jquery-1.3.2.js"></script> <script type="text/javascript"> $(document).ready(function() { /* // Example without jquery document.getElementById("contextmenu").oncontextmenu = function(e) { console.log("contextmenu"); return false; } */ // Example with jquery $("#contextmenu").contextmenu(function(e) { console.log("contextmenu"); return false; }); }); </script> </head> <body> <p id="contextmenu">contextmenu</p> </body> </html>
Regards,
Stephane
Attachments (1)
Change History (1)
Changed November 11, 2010 04:34AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Just use .bind("contextmenu", ...).