Sha256: 6b81470ab7b953f48645b2843518e0848afba1dd1e0c4f329814bcc70cefe477
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 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: "#"} = image_tag photo.thumb, alt: "/assets/#{photo.path}" - photos.pages.remainder.each do |page| .msg_thumb_wrapper{style: 'display:none'} - page.photos.each do |photo| %a{href: "#"} = image_tag photo.thumb, alt: "/assets/#{photo.path}" %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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-gallery-0.2.1 | app/views/gallery/_slideshow.html.haml |
rails-gallery-0.2.0 | app/views/gallery/_slideshow.html.haml |