Sha256: 682a74622712e5112788b5916f7b42ad60c18d9334259278c58a17a4f1bcf8fb
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
// http://tympanus.net/codrops/2010/07/05/minimalistic-slideshow-gallery/ #msg_slideshow.msg_slideshow #msg_wrapper.msg_wrapper #msg_controls.msg_controls // right has to animate to 15px, default -110px %a#msg_grid.msg_grid{href: "#"} %a#msg_prev.msg_prev{href: "#"} %a#msg_pause_play.msg_pause{href: "#"} // has to change to msg_play if paused %a#msg_next.msg_next{href: "#"} #msg_thumbs.msg_thumbs // top has to animate to 0px, default -230px .msg_thumb_wrapper - photos.page(:first).photos.each do |photo| %a{href: "#"} = gallery_image :slideshow photo - photos.pages.remainder.each do |page| .msg_thumb_wrapper{style: 'display:none'} - page.photos.each do |photo| %a{href: "#"} = gallery_image :slideshow, photo %a#msg_thumb_next.msg_thumb_next{href: '#'} %a#msg_thumb_prev.msg_thumb_prev{href: '#'} %a#msg_thumb_close.msg_thumb_close{href: '#'} %span.msg_loading = t('rgallery.photos_loading')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails-gallery-0.3.2 | app/views/gallery/_slideshow.html.haml |
rails-gallery-0.3.1 | app/views/gallery/_slideshow.html.haml |
rails-gallery-0.3.0 | app/views/gallery/_slideshow.html.haml |