I have a little image gallery application in rails enough for small galleries (20< photos). But as images increase and the user needs to scroll down the page it starts getting anoying to see all pictures... I thought pagination but then I saw this AJAX goodness http://www.apple.com/getamac/ads/ As you can see the videos scroll right/left when the arrows are pressed in a circular manner without reloads etc. Is there any information around on how to do this??? tips? anything is welcome... by the way the ads are very funny... regards, Horacio
On 22 Jun 2006, at 12:15, Horacio Sanson wrote:> > I have a little image gallery application in rails enough for small > galleries > (20< photos). But as images increase and the user needs to scroll > down the > page it starts getting anoying to see all pictures... > > > I thought pagination but then I saw this AJAX goodness > > http://www.apple.com/getamac/ads/ > > As you can see the videos scroll right/left when the arrows are > pressed in a > circular manner without reloads etc. > > Is there any information around on how to do this??? tips? anything is > welcome...Tip number one: View the source of the Apple page and work your way back up. It''s a piece of javascript that uses a class probably loaded from one of the external javascript files you find on top. It should give you the information you need (mind you, these are copyrighted by apple, so you can''t just copy the scripts in your application). Best regards Peter De Berdt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060622/598a53d6/attachment.html
Horacio Sanson wrote:> I have a little image gallery application in rails enough for small galleries > (20< photos). But as images increase and the user needs to scroll down the > page it starts getting anoying to see all pictures... > > > I thought pagination but then I saw this AJAX goodness > > http://www.apple.com/getamac/ads/ > > As you can see the videos scroll right/left when the arrows are pressed in a > circular manner without reloads etc. > > Is there any information around on how to do this??? tips? anything is > welcome... > > > by the way the ads are very funny... > > > regards, > HoracioTake a look at: http://www.dhtmlgoodies.com/index.html?whichScript=image-slideshow-5
Thanks.. I know this stuff belongs to apple, that is why I don''t want to deepen myself in that code... apart from it being too complex for what I need. regards, Horacio ??? 23 6? 2006 02:09?Peter De Berdt ????????:> On 22 Jun 2006, at 12:15, Horacio Sanson wrote: > > I have a little image gallery application in rails enough for small > > galleries > > (20< photos). But as images increase and the user needs to scroll > > down the > > page it starts getting anoying to see all pictures... > > > > > > I thought pagination but then I saw this AJAX goodness > > > > http://www.apple.com/getamac/ads/ > > > > As you can see the videos scroll right/left when the arrows are > > pressed in a > > circular manner without reloads etc. > > > > Is there any information around on how to do this??? tips? anything is > > welcome... > > Tip number one: > > View the source of the Apple page and work your way back up. It''s a > piece of javascript that uses a class probably loaded from one of the > external javascript files you find on top. It should give you the > information you need (mind you, these are copyrighted by apple, so > you can''t just copy the scripts in your application). > > Best regards > > Peter De Berdt
Thanks a lot!! got it working in no time but with the vertical version that is cooler and easier to understand.... http://www.dhtmlgoodies.com/index.html?whichScript=image-slideshow-vertical thanks again.. Horacio ??? 23 6? 2006 02:34?Matt Heagney ????????:> Horacio Sanson wrote: > > I have a little image gallery application in rails enough for small > > galleries (20< photos). But as images increase and the user needs to > > scroll down the page it starts getting anoying to see all pictures... > > > > > > I thought pagination but then I saw this AJAX goodness > > > > http://www.apple.com/getamac/ads/ > > > > As you can see the videos scroll right/left when the arrows are pressed > > in a circular manner without reloads etc. > > > > Is there any information around on how to do this??? tips? anything is > > welcome... > > > > > > by the way the ads are very funny... > > > > > > regards, > > Horacio > > Take a look at: > > http://www.dhtmlgoodies.com/index.html?whichScript=image-slideshow-5 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
I noticed there was a thread discussing about "Sliding Gallery". I can''t seem to append this email to the end of that thread. Anyway, I just released a Javascript library that implements the same functionality. You might find this helpful. Please review at http://slidinggallery.pragmaticobjects.org/ Kevin Hoang Le