allyson
07-21-2002, 04:26 AM
Hi
I am having difficulty with the displaylogo() function. I have given the logo "name=slide" and had hoped that the displaylogo() would be able to display the content of image1.src. What am I doing wrong? Please help.
<script language="javascript">
<!-- Preload logo
var image1=new Image()
image1.src="images/titlelogo.gif"
function displaylogo() {
setCell('textcell',MO_text['empty']);
document.images.slide.src=eval("image1.src") ;
}
//-->
</script>
<body>
<img src="images/titlelogo.GIF" name="slide" width="220" height="54"
bye
Allyson
I am having difficulty with the displaylogo() function. I have given the logo "name=slide" and had hoped that the displaylogo() would be able to display the content of image1.src. What am I doing wrong? Please help.
<script language="javascript">
<!-- Preload logo
var image1=new Image()
image1.src="images/titlelogo.gif"
function displaylogo() {
setCell('textcell',MO_text['empty']);
document.images.slide.src=eval("image1.src") ;
}
//-->
</script>
<body>
<img src="images/titlelogo.GIF" name="slide" width="220" height="54"
bye
Allyson