<SCRIPT> var ibc=0; function ibx(srcId,par) { var txt=(typeof par=='undefined')?' ? ':par; document.write("<SPAN onMouseOver='infoText(\""+srcId+"\")' "+"onMouseOut='infoText(\"ibx"+srcId+"\")'"+">"); document.write(txt); document.write("</SPAN>"); } function infoText(srcId) { var ds=document.getElementById(srcId).style; if (ds.visibility=='visible') ds.visibility='hidden'; else { topVal=eval(event.offsetY+15); leftVal=eval(event.offsetX-125); rightVal=leftVal+250; if (rightVal>screen.availWidth-25) { rightVal=screen.availWidth-25; leftVal=rightVal-250; }; if (leftVal<2) leftVal=2; ds.top=topVal; ds.left=leftVal; if (event.type=='mouseover') ibId=setTimeout("document.getElementById('"+srcId+"').style.visibility='visible'",500); if (event.type=='mouseout') clearTimeout(ibId); }; }; </SCRIPT> ... <SCRIPT>ibx(ibc++,"tool tip")</SCRIPT> ...
See also:
file: /Techref/language/java/script/mouseovers.htm, 1KB, , updated: 2006/8/15 21:09, local time: 2024/12/30 10:27,
3.144.102.43:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/language/java/script/mouseovers.htm"> Javascript Mouseovers</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.