![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work) ...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible. Cheers Tont Is it possible to set |
#3
| |||
| |||
|
|
I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work) ...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible. Cheers Tont Is it possible to set |
#4
| |||
| |||
|
|
For managing files you automatically upload on a server, you should do it on the server side. It can be done in ASP or PHP. don't know with javascript.... Let me get the script on ASP and I'll send it to you. BoB "TonyJeffs" <tonyjeffs (AT) aol (DOT) com> a écrit dans le message de news:8ec4c623.0312040557.23962392 (AT) posting (DOT) google.com... I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work) ...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible. Cheers Tont Is it possible to set |
#5
| |||
| |||
|
|
I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work) ...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible. Cheers Tont Is it possible to set |
#6
| |||
| |||
|
|
I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work) |
#7
| |||
| |||
|
|
NOt tested, definately in need of further work, but... var i = 0 while (i != NaN) { preload[i] = new Image(); preload[i].src = i + ".gif"; // test for undefined somehow if (preload[i].src is undefined) { i = "a"; } else { i = i + 1; } } You'd still need to number your files sequentially with this of course. |
![]() |
| Thread Tools | |
| Display Modes | |
| |