Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

showModalDialog Help Icon

Posted on 2004-09-10
4
Medium Priority
?
349 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
2 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 200 total points
ID: 12029695
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
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…
Suggested Courses

782 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