Solved

showModalDialog Help Icon

Posted on 2004-09-10
4
342 Views
Last Modified: 2012-06-27
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
Comment
Question by:BrianWren
4 Comments
 
LVL 15

Expert Comment

by:justinbillig
ID: 12029666
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
 
LVL 63

Accepted Solution

by:
Zvonko earned 50 total points
ID: 12029695
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question