please dont rip this site

Javascript Mouseovers

<SCRIPT>
var ibc=0;

function ibx(srcId,par) {
var txt=(typeof par=='undefined')?'&nbsp;?&nbsp;':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: 2017/11/20 01:43,
TOP NEW HELP FIND: 
54.196.127.107:LOG IN

 ©2017 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?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://techref.massmind.org/techref/language/java/script/mouseovers.htm"> Javascript Mouseovers</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .