JS sliding gallery

Out of context: Reply #7

  • Started
  • Last post
  • 13 Responses
  • ismith0

    BUMP

    http://ianclarksmith.com/csar/ta…

    I have a couple problems that I can't seem to solve...

    1) I can't find a way to set the opacity only for images outside of #viewer

    2) Vertical align isn't applying to each element– it's running the first and then passing the same setting to all the other

    3) The height of each thing is all messed up on each one (see all the excess white background). Again' it's taking it's cue from the first image then applying it to all. I'm sure there's a reason and that it's my fault, but I can't for the life of me find a way to correct it. I should note that if you look at the CSS and wonder what all the stuff like .item, .zone, etc are for it's because the front page is a custom stacked grid and simply floating stuff didn't work.

    And sorry about the large images– I'll get around to optimizing them later I guess (though if anyone knows of how I can load them with JS after the page is loaded, that would be great!).

View thread