Sha256: 862d7094c51f2039d9700f3cd879e3062120d7442a1ab1eae3827fc412d8f45f

Contents?: true

Size: 949 Bytes

Versions: 12

Compression:

Stored size: 949 Bytes

Contents

<div id='gallery' class='clearfix corner-all box_shadow'>
  <div id="gallery_wrap" class='clearfix'>
    <a class="<%= 'no_back ' unless (objs.size > 1) %>backward browse left"></a>
    <div id="gallery_wrap_inner" class="left"></div>
    <a class="<%= 'no_back ' unless (objs.size > 1) %>forward browse right"></a>
  </div>
  <div class="scroll_nav">
    <a class="<%= 'no_back ' unless (objs.size > 4) %>prev browse left"></a>

    <div class="scrollable corner-all nav">
      <div class="items ajax-nav">
        <% objs.each_with_index do |obj, index| %>
          <%= '<div>' if index%4 == 0 %>
          <%= link_to image_tag(obj.thumb, :alt => obj.name), obj, :id => obj.id, :class => "button#{' current' if obj.id == objs.first.id}" %>
          <%= '</div>' if (index%4 == 3 || index == objs.size-1) %>
        <% end %>
      </div>
    </div>
    <a class="<%= 'no_back ' unless (objs.size > 4) %>next browse right"></a>
  </div>
</div>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
sbdevcore-0.1.2 app/views/shared/_gallery.html.erb
sbdevcore-0.1.1 app/views/shared/_gallery.html.erb
sbdevcore-0.1.0 app/views/shared/_gallery.html.erb
sbdevcore-0.0.9 app/views/shared/_gallery.html.erb
sbdevcore-0.0.8 app/views/shared/_gallery.html.erb
sbdevcore-0.0.7 app/views/shared/_gallery.html.erb
sbdevcore-0.0.6 app/views/shared/_gallery.html.erb
sbdevcore-0.0.5 app/views/shared/_gallery.html.erb
sbdevcore-0.0.4 app/views/shared/_gallery.html.erb
sbdevcore-0.0.3 app/views/shared/_gallery.html.erb
sbdevcore-0.0.1 app/views/shared/_gallery.html.erb
sbdev-core-0.0.1 app/views/shared/_gallery.html.erb