Vivid-Casper/assets/js/index.js
2013-09-02 22:59:50 +01:00

21 lines
387 B
JavaScript

/**
* Placeholder JS file for Casper behaviours
*/
/*globals jQuery, document */
(function ($) {
"use strict";
$(document).ready(function(){
sizeContent();
$(window).resize(sizeContent);
function sizeContent() {
var newHeight = $(window).height() - 30;
$("#sitehead").css("height", newHeight);
}
});
}(jQuery));