Created
July 21, 2009 02:22
-
-
Save bernsno/151059 to your computer and use it in GitHub Desktop.
This file contains 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
$("#news_container").load(("/news_breakers:format?format=js"), function(){ | |
$("#news_posts").accordion({autoHeight: false}); | |
$("#news_container").jScrollPane({scrollbarWidth:5}); | |
$(".news_breakers_box .pagination a").live("click", function(){ | |
$('#news_container').load(this.href, function() { | |
$("#news_posts").accordion({autoHeight: false}); | |
}); | |
return false | |
}); | |
}); | |
<div id="left_page_container"> | |
<div class="home-chains"> | |
<%= link_to image_tag("player_header.png"), root_path, :class => 'home-chains-link' -%> | |
<%= render 'shared/player_search' %> | |
<%= flash_helper %> | |
<%= yield %> | |
</div> | |
<div class="home-links"> | |
<ul> | |
<!--<li><a href="#">Stat Cruncher</a></li> | |
<li><a href="#">Spread The Fire</a></li> | |
<li><a href="#">Forums</a></li>--> | |
<li><a href="#TB_inline?height=1042&width=862&inlineId=pyro_promise" class="thickbox">Pyromaniac Promise</a></li> | |
<!--<li><a href="#">Pyro Draft Kit</a></li>--> | |
</ul> | |
</div> | |
<div class="news_breakers_box"> | |
<h3 class="newsbreak_head"><span>News Breakers</span></h3> | |
<%= link_to 'view all', daily_news_breakers_path(Date.today.to_url), :class => 'all_newsbreakers' %> | |
<div id="news_container"> | |
<div id="news_posts" class="news_breaker_wrapper"> | |
<%= render @news_breakers %> | |
</div> | |
</div> | |
<%= will_paginate @news_breakers, :previous_label => "Previous 10", :next_label => "Next 10", :page_links => false, :params => {:controller => "news_breakers", :format => "js", :action => "list"} %> | |
</div> | |
</div> | |
<div id="right_page_container"> | |
<div class="right-right-column"> | |
<%= render :partial => "daily_pills/sidebar" -%> | |
<div class="recent-scores"> | |
<!-- <h4>Scoreboard</h4> | |
<a class="all-scores" href="#">View All</a> | |
<table> | |
<tr> | |
<td class="rightline bottomline"><div class="teamscore winner">Was</div><div class="pointscore winner">7</div><div class="teamscore">Car</div><div class="pointscore">3</div></td> | |
<td class="bottomline"><div class="teamscore">Was</div><div class="pointscore">7</div><div class="teamscore winner">Car</div><div class="pointscore winner">3</div></td> | |
</tr> | |
<tr> | |
<td class="rightline bottomline"><div class="teamscore winner">Was</div><div class="pointscore winner">7</div><div class="teamscore">Car</div><div class="pointscore">3</div></td> | |
<td class="bottomline"><div class="teamscore">Was</div><div class="pointscore">7</div><div class="teamscore winner">Car</div><div class="pointscore winner">3</div></td> | |
</tr> | |
<tr> | |
<td class="rightline bottomline"><div class="teamscore winner">Was</div><div class="pointscore winner">7</div><div class="teamscore">Car</div><div class="pointscore">3</div></td> | |
<td class="bottomline"><div class="teamscore">Was</div><div class="pointscore">7</div><div class="teamscore winner">Car</div><div class="pointscore winner">3</div></td> | |
</tr> | |
<tr> | |
<td class="rightline"><div class="teamscore winner">Was</div><div class="pointscore winner">7</div><div class="teamscore">Car</div><div class="pointscore">3</div></td> | |
<td class=""><div class="teamscore">Was</div><div class="pointscore">7</div><div class="teamscore winner">Car</div><div class="pointscore winner">3</div></td> | |
</tr> | |
</table> | |
<h4>Pyro Apps</h4> | |
<p class="apps"><a href="#">iPhone</a> | <a href="#">Android</a> | <a href="#">Blackberry</a></p> | |
--> | |
<div class="pyro-icons"> | |
<a href="#TB_inline?height=1042&width=862&inlineId=pyro_promise" class="thickbox"><img src="/images/icon-promise.png" alt="Pyromaniac Promise" /></a> | |
<!-- <a href="#" class="forums-icon"><img src="/images/icon-forum.png" alt="Pyro Forums" /></a> | |
<a href="#" class="fire-icon"><img src="/images/icon-spread.png" alt="Spread The Fire" /></a> --> | |
</div> | |
</div> | |
</div> | |
<%= render :partial => "daily_pills/container" -%> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment