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-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
|
|
|
|
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
|
2017-03-13 12:35:41 -07:00
|
|
|
$(window).resize(function () {
|
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-03-04 08:12:31 -08:00
|
|
|
});
|