View Single Post
Old 08-20-2006, 10:04 AM   #5 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
Well your version isn't dynamicaly loading what ever pic is found in the directory.. It assumes theres alot of images all called 1.gif, 2.gif, 3.gif ..., N.gif
Yet the N isn't specified, so if you have 5 images, and you keep on pressing <next> it will eventualy display "Image not found", not stop when the end of your available images is reached.

As to your error, I havn't looked too much on the code, so at this point I have no solution for you.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote