SandySynaptik Posted October 20, 2011 Share Posted October 20, 2011 I want such a functionality where when user right clicks on the page then it should reload the page and when (s)he lft clicks then the content of that id/class should be copied. Link to comment Share on other sites More sharing options...
SandySynaptik Posted October 20, 2011 Author Share Posted October 20, 2011 Is anything unclear??See this page: http://synaptik.co.cc/randomcolor Now I want that when I right click then that page reload, and when I left click then it copies whatever is in the <h1> tag. Link to comment Share on other sites More sharing options...
thescientist Posted October 20, 2011 Share Posted October 20, 2011 why don't you give people a chance to get on the boards first. it had only been a couple of hours. what have you tried, and what are you having problems with? Have you looked up capturing mouse button clicks/events? Link to comment Share on other sites More sharing options...
SandySynaptik Posted October 20, 2011 Author Share Posted October 20, 2011 OK, I will do the left click part later but there isn't any right click event i think. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 20, 2011 Share Posted October 20, 2011 http://www.google.com/search?client=opera&rls=en&q=javascript+detect+right+click&sourceid=opera&ie=utf-8&oe=utf-8&channel=suggest Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.