can any of u see a problem with this script that i got out of a book. the link still works but there is no pic shown in the webpage, here is the funcs that i have after the head tag
and this is the html that i use to call it and its all on one line
thx
To err is human, to completely mess up takes a computer.![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
Code:
<HTML>
<HEAD>
<SCRIPT language="JavaScript">
<!--
if (document.images)
{
pic1on= new Image(129,24);
pic1on.src="pics/click.gif";
pic1off= new Image(129,24);
pic1off.src="pics/about_ses.gif";
}
function lightup(imgName)
{
if (document.images)
{
imgon=eval(imgName + "on.src");
document[img]ame[/img].src= imgon;
}
}
function turnoff(imgName)
{
if (document.images)
{
imgoff=eval(imgName + "off.src");
document[img]ame[/img].src= imgoff;
}
}
//-->
</SCRIPT>
<TITLE>
JST
</TITLE>
</HEAD>
and this is the html that i use to call it and its all on one line
Code:
<a href="aboutses.php" onMouseover="lightup('pic1')" onMouseout="turnoff('pic1')"> <IMG src="pics/about_ses.gif name="pic1" width="129" height="24" border="0"></a> </TD>
thx
To err is human, to completely mess up takes a computer.
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)