Applellial Posted June 10, 2011 Share Posted June 10, 2011 I'm designing a browser game. When a user right clicks an object in my game I would like to be able to have a menu come up. Is it possible to override the right click event only for the canvas and still allow normal right click functions outside of the canvas? Thanks Quote Link to comment Share on other sites More sharing options...
trq Posted June 10, 2011 Share Posted June 10, 2011 Not with HTML. Quote Link to comment Share on other sites More sharing options...
ZulfadlyAshBurn Posted July 16, 2011 Share Posted July 16, 2011 just asking, if your game is coded using html or flash? if its flash, its possible. If html somehow its possible. the game should be a iframe. the iframe would be in the page you want the user to play the game. in the game page, add the right click script to override. there you have. could be a tedious job Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.