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

18 lines
373 B
JavaScript
Raw Normal View History

// requires jquery
$(document).ready(function () {
2017-03-11 20:11:20 -08:00
// initialize
2017-03-10 22:59:27 -08:00
heroResize();
itemResize('iframe');
typeResize(); // for section content
lightbox('#4005') // TODO put this in template instead of hard coding using parameter
2017-03-10 22:59:27 -08:00
// resize elements on change
$(window).resize(function () {
2017-03-10 22:59:27 -08:00
heroResize();
itemResize('iframe');
typeResize();
2017-03-04 20:02:56 -08:00
});
2017-03-10 22:59:27 -08:00
});