[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

showModalDialog Help Icon

If I do not specify help: no;, a question mark is shown in the titlebar of IE, and clicking it adds a "What’s This?” question mark to the mouse cursor, which (of course) lasts for one mouse click.

How do I intercept—and utilize—this specialized event?
1 Solution
in the

onmousedown event in the body check and see if the cursor is help, if it is do what you want

something maybe like

function IsHelp( objTarget )
       var blnIsHelp = false; // assume no

       if( document.style.cursor == "help" )
            blnIsHelp = true;

      return blnIsHelp;

if its help do what you want

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now