2013-02-08 23:21:16 +00:00
|
|
|
// hijack a link with class "hijax" to load only the list element
|
2013-02-04 16:28:58 +00:00
|
|
|
var $j = jQuery.noConflict();
|
|
|
|
|
|
|
|
$j(document).ready(function() {
|
|
|
|
$j("a.hijax_unglued").click(function(event) {
|
|
|
|
event.preventDefault();
|
2013-02-08 23:21:16 +00:00
|
|
|
$j("#content-block-content").html('<img src="/static/images/loading.gif">').load($j(this).attr("href") + " #books-go-here", function(){
|
|
|
|
$j('#toggle-list').click(toggleList);
|
|
|
|
$j('#toggle-panel').click(togglePanel);
|
|
|
|
if($j.cookie('view')=='panel') {togglePanel();}
|
|
|
|
});
|
2013-02-04 16:28:58 +00:00
|
|
|
});
|
|
|
|
});
|