Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 22nd, 2003, 10:37 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default make a HTML Help file

Dear all: I wanna make a help for my App in Compiled HTML Help format. Any idea?!??!
Any help appreciated.

Hovik Melkomian.
Hovik Melkomian.
Reply With Quote
  #2 (permalink)  
Old December 27th, 2003, 11:32 AM
Authorized User
Join Date: Oct 2003
Location: , , .
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts

This will give you a help box pop up when the user places their mouse over the words you choose to have a help message on...

Place this <STYLE TYPE="text/css">
#dek {POSITION:absolute;VISIBILITY:hidden;Z-INDEX:200;}
</STYLE> between the <HEAD> </HEAD> tag of your Web page.

Next, place this <DIV ID="dek"></DIV>

<SCRIPT TYPE="text/javascript">

//Pop up information box II (Mike McGrath (mike_mcgrath@lineone.net, http://website.lineone.net/~mike_mcgrath))
//Permission granted to Dynamicdrive.com to include script in archive
//For this and 100's more DHTML scripts, visit http://dynamicdrive.com

Xoffset=-60; // modify these values to ...
Yoffset= 20; // change the popup position.

var old,skn,iex=(document.all),yyy=-1000;

var ns4=document.layers
var ns6=document.getElementById&&!document.all
var ie4=document.all

if (ns4)
else if (ns6)
else if (ie4)

function popup(msg,bak){
"BGCOLOR="+bak+"><TD ALIGN=center>"+msg+"</TD></TABLE>";
 if(ns4){skn.document.write(content);skn.document.c lose();skn.visibility="visible"}
 if(ns6){document.getElementById("dek").innerHTML=c ontent;skn.display=''}
 if(ie4){document.all("dek").innerHTML=content;skn. display=''}

function get_mouse(e){
var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollL eft;
var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollT op;

function kill(){
else if (ns6||ie4)

</SCRIPT> anywhere in the <BODY> </BODY> of your web page. (Notice the TABLE WIDTH=225 in this scripte, as you can change this to make the message box any width you wish.

Then place this around the word(s) you wish to show a help message on <a href="javascript:void(0)" ONMOUSEOVER="popup('Your help message goes here','lightyellow')"; ONMOUSEOUT="kill()">Your words go here</a>

Note: you can change the background color of the message box from "lightyellow" (as it shows above) to any color you wish and you can also change the color of the text by changing the font color="#ff000"> (which is shows above) to any color you wish.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert HTML File to PDF file in vb.net gaurikhot .NET Framework 2.0 4 June 16th, 2014 02:33 AM
How do I make a Help File? chobo2 C# 2005 1 November 13th, 2007 05:36 AM
make html button default sansircar ASP.NET 1.0 and 1.1 Professional 1 October 23rd, 2006 04:25 PM
XSLT to make multiple hyperlinked HTML files dai.hop XSLT 1 January 11th, 2006 03:05 PM
make a HTML Help file melvik C# 1 December 23rd, 2003 07:08 PM

All times are GMT -4. The time now is 03:52 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.