56 users online (1 members and 55 guests)  


  Results 1 to 4 of 4

Related

  1. either or check box    Forum: Javascript Forum
    Replies: 2
  2. Help me to check    Forum: Show it off!
    Replies: 3
  3. Jump Menu covers drop down menu    Forum: HTML Forum
    Replies: 1
  4. Pulldown menu blocks my popup menu    Forum: HTML Forum
    Replies: 9
  1. #1
    ramis55's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    8

    How I can to check menu is opened or not?

    Hello,

    When I click right mouse click in the browser, then shows menu. How I can to check with JavaScript this menu is opened or not?

    Kind Regards,
    Ramunas

  2. #2
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Re: How I can to check menu is opened or not?

    i am not 100% on this, but i dont think you can... what you might beable to do is catch a right click, but that would not be very reliable.

    -ALL

  3. #3
    ramis55's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    8

    Re: How I can to check menu is opened or not?

    Thanks for quick replay.
    You write that can catch right mouse click. Then how I can do it?

    I am “green” with JavaScript.

  4. #4
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Re: How I can to check menu is opened or not?

    if you are trying to disable right clicks check this out:

    http://www.billybear4kids.com/clipart/riteclic.htm

    if you want to capture right click check this out:

    <SCRIPT LANGUAGE=JAVASCRIPT>function click() {if (event.button==2) { alert('put tour code in this spot') } } document.onmousedown=click </SCRIPT>

    hope that helps (btw... that isnt a very browser friendly version),
    -ALL



Tags for this Thread