Hi, I would like to know how can I do this, I need some code that when the mouse y over a word(like a "hotword" then automatically without clicking show me a window with some explanations about this word, it is possible? Thanks.
<!-- Begin
var description = new Array();
description[0] = "Text shown when visitors mouse over the first link.";
description[1] = "You can even embed <b>HTML</b> into the link description.";
description[2] = "<i>Text shown when visitors mouse over the third link.</i>";
// End -->
</script>
</HEAD>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY>
<center>
<table border="0">
<tr>
<td valign=top width="160">
<ul>
<li><a onMouseOver="Words.innerHTML = description[0];" href="link1.htm">First Link</a>
<li><a onMouseOver="Words.innerHTML = description[1];" href="link2.htm">Second Link</a>
<li><a onMouseOver="Words.innerHTML = description[2];" href="link3.htm">Third Link</a>
</ul>
</td>
<td width="600">
<!-- Cell with the descriptions -->
<a id="Words">This will be the info that visiters will see first it is changed when they mouseover the links. It returns when the page is reloaded.</a>
</td>
</tr>
</table>
</center>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="
hie guyz!
well, as it works in ie & nn6 i think u can just use <div title=’explanation’>a word</div> – it works too, but it is much simplier
for dyin nn4x – use <ilayer id=one><layer id=two><div id=three style=”position:relative”>the place for explanation</div></layer></ilayer>
and then –
for ie & nn6 – like link said,
if(document.getElementById) document.getElementById(“three”).innerHTML=’new explanation’
else if(document.all) document.all.three.innerHTML=’new explanation’
and for nn4:
else if (document.layers){
document.layers.one.document.layers.two.document.open()
document.layers.one.document.layers.two.document.write(’new explanation’)
document.layers.one.document.layers.two.document.close()
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.