Click to See Complete Forum and Search --> : onMouseOver
Jonathan
07-06-2003, 01:33 AM
Is there a way to put mouse over text in a span tag?
OK
This is what I want, on my website... (www.crosspoint.org) I would like to show link descriptions in the second (light) blue bar. The one below "Make the Connection". The links can be found on the left-hand side...
Can someone help?
Add function to script, the id to <span> tag and relevant onmouseover/onmouseout to each link.
.
.
function InsertText(newText) {
document.getElementById("descriptions").childNodes[0].nodeValue=newText;
}
// End -->
</SCRIPT>
</SPAN>
<H1>Crosspoint Community Church</H1>
<H2>Make the Connection</H2><SPAN class=date align="left" id="descriptions"> </SPAN> <BR>
<TABLE align=left summary=mailto:dvaughan@crosspoint.org border=0>
<TBODY>
<TR>
<TD align=left><A onmouseover="InsertText('Home');" onmouseout="InsertText(' ');" href="Crosspoint Community Church ~ Make the Connection_files/home.htm"
target=a>Home</A></TD></TR>
<TR>
<TD align=left><A onmouseover="InsertText('Pastor Doug');" onmouseout="InsertText(' ');" href="http://www.crosspoint.org/doug.html"
target=a>Pastor Doug</A></TD></TR>
.
.
Jonathan
07-06-2003, 04:45 PM
Thanks, I will see if it works
Jonathan
07-06-2003, 04:57 PM
It says "object reqired"
Jonathan
07-06-2003, 05:10 PM
oops, i got it working, thanks again!