> -----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

Reply via email to