mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-23 03:57:38 +00:00
21 lines
387 B
JavaScript
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)); |