To insert the tag for an instance of the section
Insert the following tag in an HTML file at the location where you want the section to appear:
<a href="filename.htm" onmouseover="functionOn(id1)" onmouseout="functionOff(id1)">
<span ID="id1" class="classname">GO</span></a>
Where filename.htm
is the name of the HTML file to which you want to link, functionOn
is the name of the JavaScript function that is triggered when a user moves their cursor over the section, and functionOff
is the name of the JavaScript function that is triggered when the user's cursor moves out of the section. id1
is the ID for this instance of the <SPAN>
, and classname
is the style class.
Example
The following is a tag used for the dynamic "Go" link in the HTML Help documentation:
<a href="overbig.htm" onmouseover="liteGo(go1)" onmouseout="liteOff(go1)">
<span ID="go1" class="endlink">GO</span></a>
Note
- If you place multiple elements on the same page, each one must have a unique ID.