Improve company productivity with a Business Account.Sign Up

x
  • 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?
0
BrianWren
Asked:
BrianWren
1 Solution
 
justinbilligCommented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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