phpboy
05-03-2007, 09:46 PM
http://www.dynamicdrive.com/dynamicindex4/photoalbum.htm
Hello Everyone, I have a problem with this particular script, and I don't know what is wrong with it. I am new to javascript, and would appreciate help from anyone.
My problems:
My confuse with this, I think, is where the jpg files are kept, and how do I get the Array to recognize it and load them. for example,
var myvacation=new Array()
myvacation[0]=["../photo1.jpg", "", "photo1-large.jpg"}
how would this script locate the jpgs?
I keep the jpg's in a folder called img.
also, I get error in the server's error log stating that the +imgparts[2]+ can not be found
please help
thanks
Hello Everyone, I have a problem with this particular script, and I don't know what is wrong with it. I am new to javascript, and would appreciate help from anyone.
My problems:
My confuse with this, I think, is where the jpg files are kept, and how do I get the Array to recognize it and load them. for example,
var myvacation=new Array()
myvacation[0]=["../photo1.jpg", "", "photo1-large.jpg"}
how would this script locate the jpgs?
I keep the jpg's in a folder called img.
also, I get error in the server's error log stating that the +imgparts[2]+ can not be found
please help
thanks