|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
<% if false %>
|
|
|
|
|
<div class="qg-1" style="background: url(<%= named_attachment_path(@images.first, @images.first.try(:filename)) %>) no-repeat top center;"></div>
|
|
|
|
|
<div style="min-height: 588px; background: url(<%= named_attachment_path(@images[1], @images[1].try(:filename)) %>) no-repeat top center;"></div>
|
|
|
|
|
<div class="pr qg-2" style="background: url(<%= named_attachment_path(@images[2], @images[2].try(:filename)) %>) no-repeat top center;">
|
|
|
|
@ -70,6 +69,4 @@
|
|
|
|
|
var h=parseInt($(".top-com").height())+385;
|
|
|
|
|
$(".qg-2").css({"minHeight":h+"px"});
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= render :partial => 'competitions/qg_second_competition' %>
|
|
|
|
|
</script>
|