First pass at new Casper homepage

This commit is contained in:
John O'Nolan
2013-08-20 18:53:02 +02:00
committed by Hannah Wolfe
parent fd4aebe2e2
commit d6fec8d50f
4 changed files with 74 additions and 15 deletions

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));