ClulessChris
IS-IT--Management
Hi, I'm still very new new to javascript, but I'm trying.
I wrote the following to be called from a rollover event:
but this is non terminating. How could I amend this to stop running onmouseout?
Never knock on Death's door: ring the bell and run away! Death really hates that!
I wrote the following to be called from a rollover event:
Code:
function roll()
{
var p
var a = 1
while (a <= 16 )
{
a++
p = a + ".jpg"
document["sub_but"].src = p;
if (a>=16)
{
a=1
}
}
}
but this is non terminating. How could I amend this to stop running onmouseout?
Never knock on Death's door: ring the bell and run away! Death really hates that!