Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    San Francisco
    Posts
    455
    Thanks
    19
    Thanked 15 Times in 15 Posts

    Want to see all images as well as a subset

    I'm using Fancybox.

    You can see the code at http://www.brettkaufman.com/staging/art.html.

    I cycle either through the Assemblages gallery or the Archival gallery.

    How do I make it cycle through the entire combined gallery, and not just the subsets?
    Last edited by marilynn.fowler; 02-14-2011 at 11:02 AM.
    Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read. Groucho Marx

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    San Francisco
    Posts
    455
    Thanks
    19
    Thanked 15 Times in 15 Posts
    Well, I figured out my own inelegant solution. When the page opens, I have jQuery set the REL attribute of all the thumbs to "todos." I put the code on all of the buttons as well. The "Assemblages" button finds all of the elements with the class "assemblage" and sets the REL attribute to "assemblage." I'm sure there's a better way, but this gets the job done.
    Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read. Groucho Marx


  •  

    Posting Permissions

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