Results 1 to 3 of 3

Thread: Advice requested re Carousel Slideshow

  1. #1
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Advice requested re Carousel Slideshow

    1) Script Title: Carousel Slideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/carousel.htm

    3) Describe problem: Delighted to have found your site. However, small problem. I am using your Carousel Sideshow and have set it up for eight images. However it only seems to show four (not even the first four), can you tell me what I a doing wrong. My site is www.thearthouseatwestbourne.com Many thanks, Mike.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,496
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Here is the template for the image/link array from the demo:

    Code:
    	Car_Image_Sources=new Array(
    		"photo1.jpg","http://www.dynamicdrive.com",
    		"photo2.jpg","http://www.javascriptkit.com",
    		"photo3.jpg","", //this slide isn't linked
    		"photo4.jpg","http://www.codingforums.com" // NOTE No comma after last line
    		);
    That's four images and three links. You have used:

    Code:
    	Car_Image_Sources=new Array(
    		"R1.jpg",
    		"R2.jpg",
    		"R3.jpg",
    		"R4.jpg",
    		"R5.jpg",
    		"R6.jpg",
            "R7.jpg",
    		"R8.jpg"
    		// NOTE No comma after last line
    		);
    Which is the same (to the script parser) as:

    Code:
    	Car_Image_Sources=new Array(
    		"R1.jpg","R2.jpg",
    		"R3.jpg","R4.jpg",
    		"R5.jpg","R6.jpg",
                    "R7.jpg","R8.jpg" // NOTE No comma after last line
    		);
    four images and four links. What I think you want is 8 images and no links, which would be:

    Code:
    	Car_Image_Sources=new Array(
    		"R1.jpg","",
    		"R2.jpg","",
    		"R3.jpg","",
    		"R4.jpg","",
    		"R5.jpg","",
    		"R6.jpg","",
                    "R7.jpg","",
    		"R8.jpg","" // NOTE No comma after last line
    		);
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Many thanks John, works perfectly. Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •