Here is a sample of the code it will generate
<script language="JavaScript">" function preloader() { // counter var i = 0;
// create object imageObj = new Image(); // set image list images = new Array(); images[0]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_0.jpg" images[1]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_1.jpg" images[2]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_2.jpg" images[3]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_3.jpg" images[4]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_4.jpg" images[5]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_5.jpg" images[6]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_6.jpg" images[7]="http:\\yourweb\hbc\tour\scene\1\back tennis courts_7.jpg" images[8]="http:\\yourweb\hbc\tour\scene\1\back yard_0.jpg" images[9]="http:\\yourweb\hbc\tour\scene\1\back yard_1.jpg" images[10]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_0.jpg" images[11]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_1.jpg" images[12]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_2.jpg" images[13]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_3.jpg" images[14]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_4.jpg" images[15]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_5.jpg" images[16]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_6.jpg" images[17]="http:\\yourweb\hbc\tour\scene\1\basketball in the park_7.jpg" images[18]="http:\\yourweb\hbc\tour\scene\1\eagle harbor still_0.jpg" images[19]="http:\\yourweb\hbc\tour\scene\1\eagle harbor still_1.jpg" images[20]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_0.jpg" images[21]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_1.jpg" images[22]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_2.jpg" images[23]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_3.jpg" images[24]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_4.jpg" images[25]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_5.jpg" images[26]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_6.jpg" images[27]="http:\\yourweb\hbc\tour\scene\1\eagle harbor_7.jpg"
Opps forgot to change that code to reflect the change in this number
// start preloading for(i=0; i<=3; i++) { imageObj.src=images; } } </script>
If you test it please change that number "3" to the highest number in your image count (this case would be 27)
The code will auto generate as many jpgs you have in either scene\1 or scene\2 directories. from 1 to 400 + That code was good an I can probably implement that in the batch file
It looks that it is using some type of Java Script AC_OETags.js and I unfortunately don't know how that is working. If someone could shed some light on it I can implement it in the same way ***
------------- Lee Scott - Nikon D3/D300/D5000 - |shaved Nikkor 10.5 mm| Manfrotto 055XPROB tripod /322RC2 Grip - Mrotator TCS |CS5 | PW7 & TW6.5 Pro
----
To err is human ... to not try is just plain lazy
|