What would be really cool is if you could pass it a xml formatted document that would have all the images in it and the load them on the fly instead of loading them all at once.
Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Hill Sent: Friday, January 13, 2006 4:04 PM To: rails-spinoffs@lists.rubyonrails.org Subject: RE: [Rails-spinoffs] anyone interested in an Effect.Slideshow? > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Tom Fakes > Sent: Friday, January 13, 2006 1:58 PM > To: rails-spinoffs@lists.rubyonrails.org > Subject: RE: [Rails-spinoffs] anyone interested in an Effect.Slideshow? > > How about this: > <div id="slideshow"> > <div id="a"><img .... /><div>Some description</div></div> > <div id="b"><img .... /></div> > <div id="c"><img .... /></div> > </div> > > Then: > Effect.Slideshow("slideshow", { delay.... }); > > This would take all the children of 'slideshow', and hide them all except > the first, and then switching between them as before. > > I like this better because I can now style each image as I want, and I can > also add text, or something else. It allows more freedom, and all the > slideshow code does is hide/show the inner pieces without needing to know > anything about them. > > In this case, I don't even need images, I can do this with paragraphs of > text, or whatever else I can find to put in my child DIVs. That's a great idea and shouldn't be too tough to implement. Of course, if you have a lot of images, loading them all with the page might make the page load slowly. Greg _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs ******************** ******************** This E-mail (and attachments) may contain confidential/privileged information intended only for the named addressee(s). If you are not an intended recipient, do not read, copy, disseminate or take any action based on the content of this E-mail. Please notify the sender by reply E-mail and erase this E-mail from your system. Your assistance is appreciated. E-mail transmission may not be secure or error-free. The company is not responsible for any loss/damage arising from any virus transmitted. ******************** ******************** _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs