As I was unable to get any replies from the rails forum, I am posting
the same here.
I have developed an app using Rails 3. I have a table made to look
like a calendar. I wanted to know if there were any methods or gems to
acheive right click(context menu) action on the dates WITHOUT
javascripts or jQuery. Please note, I am developing this on Rails 3.
I finally decided to take up the right click using HTML5. Thank you all.
I referred David Walsh website for the
same(HTML5 Context Menus). Is there a way to
remove the system generated right click options?
I finally decided to take up the right click using HTML5. Thank you all.
I referred David Walsh website for the
same(HTML5 Context Menus). Is there a way to
remove the system generated right click options?
You could trap them in JavaScript and return event.preventDefault() to stop the normal response from happening.
Have a google for the right way to trap a right-click -- it's very popular in anti-piracy scripts.