understood..
I guess I failed to mention, that I would already be adding the information about the images, etc. to the database, under the member's account - so the only problem would be getting the count from the database, and importing it into the javascript - probably using PHP ???
UGH!!
That is more complicated than I thought it might be ....
I will have the image names and a count stored in a MySQL database - Is there an easy way to import that number into the javascript?
Oh yeah .. Thank You All, for the help so far :-)
it didn't like "push"
Another thing ...
How would I change the above, to have it insert the name of the image(s) instead of just a sequential numbering ..
ie: mypic.jpg and myotherpic.jpg , as opposed to 1.jpg and 2.jpg?
I think that made sense .. lol
BabyJeffy - Thank You :-)
That works perfectly.
As to the total number of images in the images directory .. how would I change this, to Automatically count the number of images in the images dir, and insert that number in the script?
ie here: for (i = 0; i <= ??
Hello,
I have a slideshow script that has the following lines in the javascript:
var fadeimages=new Array()
fadeimages[0]=["images/1.jpg", "", ""]
fadeimages[1]=["images/2.jpg", "", ""]
fadeimages[2]=["images/3.jpg", "", ""]
--------------------------------------
I want to be able to use a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.