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.
That has nothing to do with rails. Also I dont believe it would be
possible
without Javascript in general.
Am 14.11.2012 07:46 schrieb “nikhil rn” [email protected]:
That has nothing to do with rails. Also I dont believe it would be
possible
without Javascript in general.
Am 14.11.2012 07:46 schrieb “nikhil rn” [email protected]:
That has nothing to do with rails. Also I dont believe it would be possible
without Javascript in general.
It can also be done with html5 I believe, if the user is using an
html5 compliant browser. HTML5 Context Menus
Colin
Thank you Colin for your reply. HTML 5 is my last resort. I am afraid it
may reduce the scope of number of users. I was wondering if I can get
the right click handler of the browser. So that, it would solve my
problem.
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.
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?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.