www.webdeveloper.com
Results 1 to 2 of 2

Thread: Recognizing left/right mouse button clicks

Threaded View

  1. #1
    Join Date
    Dec 2011
    Location
    Bucharest Romania
    Posts
    40

    Recognizing left/right mouse button clicks

    Hi,

    I have an educational site.
    I have some games, and I would like to create a game in which by positioning the mouse cursor over a box and clicking the left mouse button you get a different result than from clicking the right mouse button. This could also be done with the keyboard, of course, but it is easier to navigate a page using a mouse and then to use the same mouse for clicking.
    My question is Is it a good idea to differentiate the mouse buttons like this?
    I read that older browsers at leasr do not assign the same values for mouse buttons. Of course this could then be done on a browser to browser basis.
    So should I use mouse buttons or keys?

    Thanks
    Last edited by arrowthesparrow; 03-08-2013 at 01:54 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles