2017-03-04 08:12:31 -08:00
|
|
|
// requires jquery
|
|
|
|
$(document).ready(function () {
|
2017-03-11 20:11:20 -08:00
|
|
|
|
2017-03-21 08:32:26 -07:00
|
|
|
// initialize
|
2017-04-05 00:24:28 -07:00
|
|
|
navbarSpacer();
|
|
|
|
// $('#page').css("width", $(window).width());
|
2017-03-10 22:59:27 -08:00
|
|
|
heroResize();
|
2017-03-14 23:20:52 -07:00
|
|
|
itemResize('iframe');
|
2017-03-21 08:32:26 -07:00
|
|
|
typeResize(); // for section content
|
2017-04-03 11:39:23 -07:00
|
|
|
hljs.initHighlightingOnLoad();
|
2017-04-05 00:24:28 -07:00
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
// resize elements on change
|
2017-03-13 12:35:41 -07:00
|
|
|
$(window).resize(function () {
|
2017-04-05 00:24:28 -07:00
|
|
|
// $('#page').css("width", $(window).width());
|
|
|
|
navbarSpacer();
|
2017-03-10 22:59:27 -08:00
|
|
|
heroResize();
|
2017-03-14 23:20:52 -07:00
|
|
|
itemResize('iframe');
|
2017-03-21 08:32:26 -07:00
|
|
|
typeResize();
|
2017-03-04 20:02:56 -08:00
|
|
|
});
|
2017-03-10 22:59:27 -08:00
|
|
|
|
2017-04-03 11:39:23 -07:00
|
|
|
});;
|