Click to See Complete Forum and Search --> : error in script...


Endlezz
03-23-2003, 05:37 PM
hey, could anyone explain to me please what is wrong with this slideshow script?

http://users.pandora.be/leckske/pictures.htm

It says in the status bar there's an error.
It doesn't give any trouble, but I wonder what's the problem.

Thanks in advance!

pyro
03-23-2003, 06:03 PM
The error is in line 54.
'document.all._Ath_Img_X' is null or not and object

That is what the error is....

Endlezz
03-23-2003, 06:17 PM
I know... I read it in explorer also.
But what do I have to do to remove that error?

pyro
03-23-2003, 06:22 PM
As far as I can tell, these two lines in your script aren't referencing anything...

document.all._Ath_Img_X.innerHTML = g_iimg + 1;
document.all._Ath_Img_N.innerHTML = g_imax;

Endlezz
03-24-2003, 07:43 AM
thanks a lot :)

greetz,

Endlezz