Created
April 3, 2011 22:32
-
-
Save andrellima/900887 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<%= javascript_include_tag "rotator", "jquery-rails", "jquery" %> | |
<%= stylesheet_link_tag "rotator", "s1", "s2" %> | |
</head> | |
<body> | |
<div class="main_page"> | |
<% if @gallery_photos.first.geometry == 'vertical' %> | |
<a href= "<%= @gallery_photos.first.photo.url("large") %>" > <img src="<%= @gallery_photos.first.photo.url("large") %>" style="height:420px;" /> | |
<% else %> | |
<img src="<%= @gallery_photos.first.photo.url("large") %>" style="width:500px;" /> | |
<% end %> | |
<div class="desc"> | |
<a href="#" class="collapse">Close Me!</a> | |
<div class="block"> | |
<h2>Title</h2> | |
<small>Date</small> | |
<p>Copy</p> | |
</div> | |
</div> | |
</div> | |
<div class="image_thumb"> | |
<ul> | |
<li> | |
<% @gallery_photos.each do |g| %> | |
<% if g.geometry == 'vertical' %> | |
<%= link_ g.photo.url("small") %>" style="height:65px;"/></a> | |
<% else %> | |
<img src="<%= g.photo.url("small") %>" style="height:65px; width:80px;"/></li></a> | |
<% end %> | |
<% end %> | |
<div class="block"> | |
<h2>Title</h2> | |
<small>Date</small> | |
<p>Copy</p> | |
</div> | |
</li> | |
</ul> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment