Click to See Complete Forum and Search --> : script changes???
krismisz
01-11-2003, 12:25 PM
I was wondering if anyone could help me. I'm new to the JavaScript thing and one certain script is tripping me up. I don't know what file names to change and where so that the script is personalized for me.
Here's the script:
http://javascript.internet.com/navigation/thumbnail-navigator.html
I'd really appreciate any help.
Thanks!
krismisz
escaperanger
01-11-2003, 01:21 PM
I believe this is the section you need to look at.
// Set this to the number of pictures you will cycle through.
maxPic = 5;
// Each image you want to place wil have to be added here
// do the following for each image, changing the name of the variable from "p1" tp "p2", "p3", etc for each image
// the first line is the height and width in pixels of the thumb(?)
// change the numbers in the ()
p1 = new Image (144,96);
// this is the file path of the thumb
// change the text in the " "
p1.src = "1-thumb.jpg";
// this is the file path of the full size image
// change the text in the " "
link1 = "1-full.jpg";
krismisz
01-11-2003, 02:53 PM
Thank you so much escaperanger! I'm gonna go check it out and see how it works...thanks again!
Krismisz
krismisz
01-11-2003, 03:29 PM
That helped a lot, but I still have two problems:
1. When the page is loaded, no picture turns up at first, just a square where the picture should be with an x in the corner
2. Everytime I click go, I get a "page cannot be found" message, but the page is there.
If you could help, I'd really appreciate it.
Thanks!
krismisz