Click to See Complete Forum and Search --> : Thanks Paul H.


Lon
08-26-2003, 09:31 PM
:D The script that you gave me will work! I even changed it to true % and it works fine Thanks for your help.

All I need to do now is two things......
1= I want to be able to count the amount of images in a folder that my program is within, and return this number.
2= I then will need a little script to add to this line.....

else if(document.sizer.newsize[3].checked) { image.className="size100"; }

to change the "image" to automatically count to the amount of images in my file?(image1 to image40 for an example.

Thanks Lon

P.S. I will post this question, I have bothered you enough.:)

zachzach
09-14-2003, 01:05 PM
i dont think javascripot can do that without using activeX

if you want to do it the activeX way, use scripting.filesystemobject
chao
zach

pyro
09-14-2003, 01:06 PM
This should be done serverside. Which languages do you have available?

zachzach
09-14-2003, 03:37 PM
well scripting.filesystem obj would work?or would it just be count files on the user comp?

pyro
09-14-2003, 04:07 PM
Not being incredibly framiliar with activeX, I'm not sure what that code would do, so I'm not going to say it can't be done with that. Someone who is more knowledgable with activeX would have to confirm or deny it, but I would doubt it would work. I would use PHP or some other popular serverside langague to do this.