changes for the index page to display columns uniformly

This commit is contained in:
tworrall 2011-07-13 20:37:50 +00:00
parent a325e885f1
commit 55bf137efe
2 changed files with 9 additions and 3 deletions

View file

@ -89,9 +89,11 @@
margin-right:25px;
}
#isotope-container {
height:1250px;
overflow:visible;
}
#isotope-container li {
width:290px;
}
/* <------ SEARCH RESULTS PAGE*/
.searchTOC {
margin-bottom: 1.5em;

View file

@ -27,14 +27,18 @@
</section>
${headScripts.add('<script type="text/javascript" src="${urls.base}/js/jquery_plugins/isotope/jquery.isotope.min.js"></script>')}
<script>
var initHeight = $("#isotope-container").height();
initHeight = (initHeight + 100)/3 ;
$("#isotope-container").css("height",initHeight + "px");
</script>
<script>
$('#isotope-container').isotope({
// options
itemSelector : '.class-group',
layoutMode : 'fitColumns'
});
</script>
</script>
<#else>
${noDataNotification}
</#if>