Results 1 to 4 of 4

Thread: Easy 'Simply Gallery' question

  1. #1
    Join Date
    Apr 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Easy 'Simply Gallery' question

    Hi,

    I'm using the Dynamic Drive Simple Gallery in my site, however this only rotates 4 images. How do I include 12 images?

    I've tried the obvious, which is including more than 4 images in this section:

    imagearray: [
    ["images/filename.jpg", "", "", "description"],
    ["images/filename.jpg", "", "", "description"],
    ["images/filename.jpg", "", "", "description"],
    ["images/filename.jpg", "", "", "description"],
    ["images/filename.jpg", "", "", "description"],
    ["images/filename.jpg", "", "", "description"],
    ],

    This doesn't work. Is there something in the Javascript that need changing too?
    Thanks in advance!

    Ben

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Remove the final comma at the end of the last item in the array. ...description"], <- that comma
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Apr 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your help! Will give this a try...

  4. #4
    Join Date
    Apr 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Worked. Cheers djr33 for the easy fix!

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
  •