Results 1 to 2 of 2

Thread: right click - without invoking browser menu

  1. #1
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default right click - without invoking browser menu

    Hi all,

    I just started to create a right click menu for my webpage. Basically when you right click I have it pop up a (previously) hidden div where the cursor is. This is fine, except how can i disable the normal browser right click menu that comes up. I know you can disable it by causing an alert window but i have no need for an alert window at the moment.

    so far i've tried... (in IE)

    event.cancelBubble(true) - thinking it might cancel the browser event?
    event.button = 1 - changing to single click... but i get an error "member not found".

    but none of these have worked. any input would be helpul

  2. #2
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry everyone, heh... found this...

    http://www.dynamicdrive.com/dynamicindex9/noright3.htm

Bookmarks

Posting Permissions

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