uci-hugo-landingpage/static/js/docready.js

23 lines
468 B
JavaScript
Raw Normal View History

(function initialze() {
navbarSpacer();
2017-03-10 22:59:27 -08:00
heroResize();
itemResize('iframe');
typeResize(); // for section content
hljs.initHighlightingOnLoad();
2017-04-07 01:40:29 -07:00
$('.section__content--modal').perfectScrollbar();
})();
// requires jquery
$(document).ready(function () {
2017-03-10 22:59:27 -08:00
});
// resize elements on change
$(window).resize(function () {
navbarSpacer();
heroResize();
itemResize('iframe');
typeResize();
$('.section__content--modal').perfectScrollbar('update');
});