Need help with modifying combined scripts
1) Script Title: Image Thumbnail Viewer
Image Thumbnail Viewer II
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm
3) Describe problem:
Ok, first off...GREAT SCRIPTS!!!! They really give a professional look/feel to a website. They work extremely well with the exception of one small detail. Please refer to the following link:
I have made all the necessary modifications, based on instructions obtained from this forum, to the thumbnailviewer2.js file to get these 2 scripts to work together, which, for the most part, they do.
I have a total of nine images. 3 full size (640X480) images ('01.jpg', '02.jpg', and '03.jpg'); 3 mid size (320X240) images ('m01.jpg', 'm02.jpg', and 'm03.jpg'); and 3 thumbnail (120X90) images ('t01.jpg, 't02.jpg', and 't03.jpg').
The midsize images load in the 'loadarea' region when the corresponging thumbnails are clicked (as they should via the thumbnailviewer2.js script). The full size images are displayed in a "thumb box" (generated via the thumbailviewer.js script) when the midsize images in the 'loadarea' are clicked.
As I indicated earlier, this all works very well, however, I would like to know if there is a way to have the default 'loadarea' image (which I have designated as 'm01.jpg') ready (on first page load) to generate a full size "thumb box" image when it is clicked? At present, the 'loadarea' region requires 2 clicks to produce the "thumb box". Is there a way to have it do this with just one click? I know the script invokes the images based on thumbnail clicks, however, sometimes (probably 50% of the time) a user is most likely to click the image in the "loadarea" area. I would like it to produce the "image box" on a first click. Thanks.
Last edited by dragonjo8; 03-02-2009 at 06:59 AM.