Click to return to the HTML Help home page    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

To Insert the Tag for an Instance of the Section


Microsoft Corporation

Updated June 10, 1999

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.asp" onmouseover="liteGo(go1)" onmouseout="liteOff(go1)">
<span ID="go1" class="endlink">GO</span></a>

Note


next step Insert the JavaScript code
 


Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.