If a customer would like to navigation to collapse when the Custom Landing page is reached and then expand back out after navigating away from it, you can add the following to the file Layouts\Start Page Layouts\CustomLandingPage\[CLP Name]\CustomLandingPage.ascx
<script>
window.onbeforeunload = function (e) {
var frameset = parent.document.getElementById('portalbottom');
var cols = frameset.cols.split(',');
var i;
var newCols = "0,250";
for (i = 2; i < cols.length; i++) {
newCols += "," + cols[i];
}
frameset.cols = newCols;
}
</script>
<script>
window.onload = function (e) {
var frameset = parent.document.getElementById('portalbottom');
var cols = frameset.cols.split(',');
var i;
var newCols = "20,0";
for (i = 2; i < cols.length; i++) {
newCols += "," + cols[i];
}
frameset.cols = newCols;
}
</script>
Comments
0 comments
Please sign in to leave a comment.