Hi guys, I have a number of records of data in a table like this:
Name Telephone
Fred 01667 887878
Bill 01667 889901
etc.
The Name is defined as a hypertext link to take the user to a person
details editing screen. No probs so far. On mouseover, I want to display
the contents of a DIV immediately alongside the name clicked.
The code I have looks like this so far (for an individual line)
<A HREF="wd_org.co ntact_maint?p_w eb_site_id=61&p _org_contact_id =2
&p_org_id=1" onMouseOver="sh ow('cont2')" onMouseOut="hid e('cont2')">
Jones, Jenny</A>
<div id="cont2" style="position :absolute; padding:0px; left:200px;
top:200px; width: 179px; height: 64px; z-index:2; background-color:#
7eae58; visibility:hidd en">
<span class="icams-normal-text"><p>Jones</p></span>
</div>
The a function hide defined elsewhere which sets the style.visibilit y to
"visible" and oanother called hide to hide it.
How can I get the div contents displayed right next to the item the
mouse is over?
--
jeremy
Name Telephone
Fred 01667 887878
Bill 01667 889901
etc.
The Name is defined as a hypertext link to take the user to a person
details editing screen. No probs so far. On mouseover, I want to display
the contents of a DIV immediately alongside the name clicked.
The code I have looks like this so far (for an individual line)
<A HREF="wd_org.co ntact_maint?p_w eb_site_id=61&p _org_contact_id =2
&p_org_id=1" onMouseOver="sh ow('cont2')" onMouseOut="hid e('cont2')">
Jones, Jenny</A>
<div id="cont2" style="position :absolute; padding:0px; left:200px;
top:200px; width: 179px; height: 64px; z-index:2; background-color:#
7eae58; visibility:hidd en">
<span class="icams-normal-text"><p>Jones</p></span>
</div>
The a function hide defined elsewhere which sets the style.visibilit y to
"visible" and oanother called hide to hide it.
How can I get the div contents displayed right next to the item the
mouse is over?
--
jeremy
Comment