Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript Pop up on Mouseover

Status
Not open for further replies.

bubarooni

Technical User
May 13, 2001
506
US
I have a table that has some javascript that makes each td fade in and out as the mouse passes over the cell. On one particular td I want a little pop up window to display a quickie version of our HIPAA policy as the user passes over the td and for it to disappear when they move off it. I also want to keep the fade in and out. How do I do that?

Here is the code for the one td:

<tr>
<td class=&quot;tdred&quot; onmouseover=&quot;fadeImg2(7)&quot; onmouseout=&quot;fadeImgend2(7)&quot; onclick=&quot;window.location=hippapolicy.html';&quot; height=&quot;20&quot;>HIPAA</td>
</tr>

Thanks in Advance

 
You can call multiple functions from the &quot;onmouseover&quot; and &quot;onmouseout&quot; events like this:

onmouseover=&quot;function1();function2();&quot;
onmouseout=&quot;function1();function2();&quot;

As to how to do the function to make the popup window, there are many threads relating to this.

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top