PDA

View Full Version : Swiss Army Script



blondeace10
04-17-2007, 02:30 PM
1) Script Title:
Swiss Army Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex14/swissarmy/
3) Describe problem: I am new to scripts and I'm sure I've just done something wrong, but when I post the code and try to view the webpage I get
inter_slide is undefined

jscheuer1
04-17-2007, 07:35 PM
Did you download the swissarmy.js file and place it in the same folder as your page?

blondeace10
04-18-2007, 01:00 AM
Thanks, I figured that out a little earlier today. Is it possible to create a link to another page on one of the images in slide show 1 on this script?

blondeace10
04-18-2007, 01:03 AM
Is it possible to create a link to another page on one of the images in slide show 1 on this script?

jscheuer1
04-18-2007, 01:28 AM
The simplest way is:


array_name[#] = ["image.jpg", "description", "http://www.dynamicdrive.com"];

So, for the first image in the first slide show on the demo page, that would be:


slides[0] = ["photo1.jpg", "Kissing Fools", "http://www.dynamicdrive.com"];