🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.java
1 messages
1 total messages Started by Smiffy Sun, 27 Jul 1997 18:49
Animated buttons
#797
Author: Smiffy
Date: Sun, 27 Jul 1997 18:49
27 lines
1327 bytes
I'm trying to create animated buttons. I have entered the following script
but get an error message saying:

Microsoft  JScript runtime error
[Line:  11]  'image' is undefined

I'm only a beginner so any help would be appreciated.

Please email to   paul_s@lineone.net

TIA
Smiffy

<SCRIPT LANGUAGE="javascript">
<!--
onimage = new image();
onimage.src = "busbuton.gif";

offimage = new image();
offimage.src = "busbutof.gif";

function start() {
document.images[0].src = onimage.src;
setTimer("document.images[0].src = offimage.src,",5000);
}
//-->
</SCRIPT>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads