PDA

View Full Version : Where can I get this script?


Stamp_Guy
02.06.2001, 01:13
Hi Guys,
Could anyone tell me where I could find a script that does the following:
When you mouseover a link, the message in a div changes. Basically like an image change, but with text instead. I need one that doesn't have to be absolutely positioned. I want to position it in a table cell. I realize this is a bit unclear, but I really can't think of any other way to explain it right now. If you need me to clarify, just let me know. Thanks!

-Stamp_Guy

dayve
02.06.2001, 01:41
I believe you can change this one to be relative.

http://www.bratta.com/dhtml/scripts/source.asp?id=5&sourced=26636

dayve

<center>
Nine Inch Nails Forum
http://www.nineinchnailz.com/forum
</center>

Royan
02.06.2001, 06:17
<font face='Arial'>Try this (the shortest script i've ever made :))

<html>
<script language="JavaScript">
var ie=document.all?1:0;
function change(text){
if (ie){div.innerHTML=text}
else {document.div.document.write(text);document.div.cl ose();}
}
</script>
Link (javascript://)
<div id="div" style="position:absolute;top100;left:200;color:#ff00ff;ba ckground-color:#000000;layer-background-color:#000000;"> Some text here</div>
</html></font id='Arial'>

Stamp_Guy
02.06.2001, 10:43
<BLOCKQUOTE id=quote><font size=1 face="Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<font face='Arial'>Try this (the shortest script i've ever made :))

<html>
<script language="JavaScript">
var ie=document.all?1:0;
function change(text){
if (ie){div.innerHTML=text}
else {document.div.document.write(text);document.div.cl ose();}
}
</script>
Link (javascript://)
<div id="div" style="position:absolute;top100;left:200;color:#ff00ff;ba ckground-color:#000000;layer-background-color:#000000;"> Some text here</div>
</html></font id='Arial'>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Arial, Helvetica" size=2 id=quote>

Is this script crossbrowser compatible even for NS6 and IE6?