Hey Greg,
awesome idea, I really look forward to see the "finished" version (or
the first draft).
Here are my two cents: What I really don't like with most of the
slideshows online is that it does not preload the next images. So,
everytime I click on "next" image, it takes a while. I would like to see
a feature that "buffers" the next 3 (or "X") and the last 3 screens so
they are instantly there...
what do you think?
greetings,
benni.
-SDG-
Gregory Hill wrote:
I had to make a sort of slideshow for a site I'm working on, and I was
thinking of making it into a Scriptaculous object. Anyone think of
reasons why I shouldn't? You'd have to pass in all the image urls and a
div id, with an optional delay parameter to determine how long to leave
each image up before moving on. I could also have a 'randomize' option,
when set to true it would pull the images randomly. It would cross-fade
them using Effect.Fade and Effect.Appear.
Syntax would be something like:
new Effect.Slideshow('div_id', ['image1.jpg', 'image2.jpg'...], { delay:
#.# (in seconds, with a default of 10 seconds), randomize: true/false
});
The script would create the img tag inside of the div (it'd actually
create 2, 1 hidden and 1 showing, then fade one out while the other
fades in).
What do y'all think of that idea?
If someone's already working on something like that, then cool.
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