[ 2 posts ]

Dave Neill

  • Username: boomster
  • Joined: Sat Jan 09, 2010 9:44 am
  • Posts: 11
  • Offline
  • Profile
Tags:

All images in slideshow showing on load

Post Posted: Mon Jun 21, 2010 9:37 pm
+0-
I'm just starting with a lot of this so, sorry if this is rudimentary. I've imitated a basic example for using the slideshow (found at http://freshcutsd.com/yui-slideshow-basic-usage/) but my imitation shows all the images in the slideshow, one after the other - as if they were in a list, while loading. Once the page is all loaded, the slideshow works fine with images replacing one another. By what mechanism should I keep the images hidden until loaded? TIA

Jeff Craig

YUI Contributor

  • Username: foxxtrot
  • Joined: Thu Dec 04, 2008 9:20 am
  • Posts: 135
  • Location: Pullman, WA
  • Twitter: foxxtrot
  • GitHub: foxxtrot
  • Gists: foxxtrot
  • IRC: foxxtrot
  • YUI Developer
  • Offline
  • Profile

Re: All images in slideshow showing on load

Post Posted: Tue Jun 22, 2010 2:47 pm
+0-
Dave,

Though I wrote the other slideshow module on the gallery, this the technique he's using is setting 'overflow: hidden' on the containing div (in the example it's div#someId) to prevent the rest of the images from showing.

I'm going to clean up the story on my own slideshow a little bit to make this work progressive enhancement case work slightly better.

foxxtrot
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum