First pass at new Casper homepage

This commit is contained in:
John O'Nolan
2013-09-02 22:59:50 +01:00
committed by Hannah Wolfe
parent fd4aebe2e2
commit d6fec8d50f
4 changed files with 74 additions and 15 deletions
+11 -2
View File
@@ -6,7 +6,16 @@
(function ($) {
"use strict";
$(document).ready(function () {
// code goes here
$(document).ready(function(){
sizeContent();
$(window).resize(sizeContent);
function sizeContent() {
var newHeight = $(window).height() - 30;
$("#sitehead").css("height", newHeight);
}
});
}(jQuery));