Tailslide
08-20-2005, 12:15 PM
Hi
I was wondering if you could advise me on this:
I'm using Script: Thumbnail 2 image viewer (http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm) on a family photo site. To help reduce the overall page size I was wondering if it's feasable to stick the workings of the script in an external .js file which would have all (about 100) the photos listed in it and then the individual pages just refer to the particular photo number.
It works on a single page as I've just tried it - but I don't know if having such a large number of images listed in the script in the external file will cause any problems or make the individual pages download slower - does that make any sense?
Thanks
I was wondering if you could advise me on this:
I'm using Script: Thumbnail 2 image viewer (http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm) on a family photo site. To help reduce the overall page size I was wondering if it's feasable to stick the workings of the script in an external .js file which would have all (about 100) the photos listed in it and then the individual pages just refer to the particular photo number.
It works on a single page as I've just tried it - but I don't know if having such a large number of images listed in the script in the external file will cause any problems or make the individual pages download slower - does that make any sense?
Thanks