Tom, I think using the ahah mentality would work nice for what you are suggesting. Pull in a fully formatted div, image, page or what ever you wanted it to be.

Casey

On 1/13/06, Tom Fakes <[EMAIL PROTECTED]> wrote:
My idea, coupled with the 'Ajax to get the next image' from Casey would
alleviate the image loading problem.  The next image would just be
another element inserted as a child in my scheme.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] ] On Behalf Of
Gregory Hill
Sent: Friday, January 13, 2006 1: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


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to