casper/assets/js/index.js

21 lines
387 B
JavaScript
Raw Normal View History

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