Skip to main content

City of Burlington, Housing Board of Review

Citation
City of Burlington, Housing Board of Review
Jurisdiction
Burlington (municipal)
Source
Official source

Full Text

1,218 chars
if (topPosition === 'fixed' || topPosition === 'absolute') {
// Bump the banner content down
if (isTransparentTS(fixedTopTS)) {
innerSizingTS.css('padding-top', initialTopTS + fixedTopTS.outerHeight());
outerSizingTS.css('padding-top', '');

try {
window.Pages.onResizeHandlersExecute();
} catch (e) { }
} else {
outerSizingTS.css('padding-top', fixedTopTS.outerHeight() - 1);
innerSizingTS.css('padding-top', '');
}
} else {
innerSizingTS.css('padding-top', '');
outerSizingTS.css('padding-top', '');
}
})();

// Fixed bottom script
(function () {
if (!fixedBottomTS || fixedBottomTS.length === 0) return;

// If the widget has gone narrow, force unfix
if (editing || fixedBottomTS.outerHeight() > 200) {
fixedBottomTS[0].classList.add(forceUnfixClassTS);
} else {
fixedBottomTS[0].classList.remove(forceUnfixClassTS);
}

if (fixedBottomTS.css('position') === 'fixed') {
bodyContainerTS.css('padding-bottom', fixedBottomTS.outerHeight());
} else {
bodyContainerTS.css('padding-bottom', '');
}
})();

// Fixed left script
(function () {
if (!fixedLeftTS || fixedLeftTS.length === 0) return;

if (editing) {
fixedLeftTS[0].classList.add(forceUnfixClassTS);
} else {
fixedLeftTS[0].classList.remove(forceUnfixClassTS);
}