PDA

View Full Version : Resolved Not more than 5 images are displayed



tonnetje
06-16-2009, 12:10 AM
1) Script Title:
Swiss Army Image Slideshow
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm
3) Describe problem:
I have 10 images but only the first 5 are shown. I guess I have to change something but don't know where.
My code:

var slides=[]; //FIRST SLIDESHOW
//configure the below images and descriptions to your own.
slides[0] = ["images/pool.jpg", "Pool and Villa"];
slides[1] = ["images/pool1.jpg", "Pool and Villa"];
slides[2] = ["images/bkgarden.jpg", "Garden"];
slides[3] = ["images/bkgarden1.jpg", "Garden"];
slides[4] = ["images/frgarden.jpg", "Garden"];
slides[5] = ["images/garden.jpg", "Garden"];
slides[6] = ["images/kitchen.jpg", "Kitchen"];
slides[7] = ["images/pizzaoven.jpg", "Pizza Oven"];
slides[8] = ["images/terrace.jpg", "Terrace"];
slides[9] = ["images/tvroom.jpg", "TV room"];
slides[10] = ["images/gamesroom.jpg", "Games room"];

Thanks

ddadmin
06-16-2009, 01:26 AM
Just based on the code you posted above, there's nothing wrong with it. Please post a link to the page on your site that contains the problematic script so we can check it out.

tonnetje
06-16-2009, 02:04 AM
The link to the site:

http://www.domainedelapierre.com/slideshow.html

ddadmin
06-16-2009, 03:14 AM
Seems to be working for me. The only thing I noticed is that the 6th image doesn't exist:


slides[5] = ["images/garden.jpg", "Garden"];

In other words, garden.jpg isn't uploaded.

tonnetje
06-16-2009, 06:21 AM
Thanks, that's it, there was one image missing!