Help needed: HTML Help Workshop pop-up windows

Subject: Help needed: HTML Help Workshop pop-up windows
From: Ron Jenkins <rjenkins -at- MYNA -dot- COM>
Date: Fri, 26 Jun 1998 14:20:59 +0000

I'm trying to get a pop-up window to work in MS HTML Help Workshop.
This should be basic, I think, but I'm stumped, new to HTML Help, and
the lone tech writer here. The HTML Help Workshop's on-line help topic
"To create a pop-up window in an HTML file" doesn't seem to help. It
instructs me as follows:

1. Click _here_ to see a sample pop-up.
2. Right-click in this window and then click View Source
to view the code for this HTML file.
3. Copy the OBJECT tag and the Javascript into your file.

When I try clicking "here" nothing pops up, so I can't get the
pop-up's source code, as there is nothing to right-click. The
instructions might be ambiguous, however. When I instead try
right-clicking the page "To create a pop-up window in an HTML file" I
can find source code with this OBJECT tag:

<OBJECT id=hhctrl type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
</OBJECT>

but no Javascript.

I have IE 4.0 installed, so that shouldn't
be a problem. Any assistance would be appreciated, and a detailed
explanation would be wonderful.

-- Ron
=======================================================

PS: Incidentally, the HTML for the help page I describe is:


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>To create a pop-up window in an HTML file</title>
<style>@import url(coUA.css);</style> <link disabled rel="stylesheet"
href="htmlhelp.css"> </head> <body bgcolor="#FEFEF2" topmargin="5"
leftmargin="10">

<h5 class="proch">To create a pop-up window in an HTML file
</h5>
<OBJECT id=hhctrl type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
>
</OBJECT>

<ol>
<li>Click <A HREF=
JavaScript:hhctrl.TextPopup("This&#32;is&#32;how&#32;a&#32;pop-up&#32;
window&#32;looks.","Verdana,10",9,9,-1,-1)> here</A> to see a sample
pop-up.
<li>Right-click in this window and then click <B>View Source</B> to
view the code for this HTML file. <li>Copy the <code>OBJECT</code>
tag and the <code>JavaScript</code> into your file. <BR><BR>In this
example, Verdana, 10 point is the font, followed by a value of 9 for
the left and right margin, and -1 for the foreground and background
colors. </li> </ol>

<table border="0" cellpadding="0" cellspacing="0">

<tr> <td valign="top"><a href="popwin.htm"><img src="home.gif"
alt="Home page link" border="0"></a> </td><td><a
href="popwin.htm">About pop-up windows</a> </td></tr>
<tr><td>&nbsp;</td></tr> </table>



</body>
</html>
======================================================
============================================================
Ron Jenkins, Technical Communications
Proteon LAN Products by Microvitec Inc
5620 Timberlea Blvd., Mississauga, Ontario, CANADA L4W 4M6
Web: http://www.lantracer.com
Voice: (905) 238-0473 Fax: (905) 238-1887
E-mail (work): rjenkins -at- silcomtech -dot- com
E-mail (personal): rjenkins -at- myna -dot- com
============================================================




Previous by Author: Re: MSWeird funnies continue
Next by Author: Re: Anyone else SPAMMED by roboHELP/blue-sky.com?
Previous by Thread: Typical vacation entitlement
Next by Thread: Re: Help needed: HTML Help Workshop pop-up windows


What this post helpful? Share it with friends and colleagues:


Sponsored Ads