Bookmark Topic Watch Topic
  • New Topic

Mouse clicks combination  RSS feed

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi

I am trying to do digitization(drawing lines ) on a image which is displayed on a browser .

so for this I am capturing the right click and left click of the mouse .







Now please suggest me to some idea here

If user again clicks right (Two right clicks) (second right clcik) the first right should not execute and should only execute the right right combination only

Please suggest me some ideas


 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Report post to moderator
Capturing mouse clicks belongs to the world of JavaScript (at least that's what I think). You JavaScript evaluates what the user did, and then you decide what request to fire.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am not asking how to capture the coordinates , but need a logic here so that the First right should not be executed again .
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!