You need to sign in to do that
Don't have an account?
Chris987654321
Disable the sidebar in your VF Pages
Sorry for the dumb question, does anyone know off-hand where the setting is to disable the sidebar in your VF Pages? I think I remember seeing a setting that turns off the sidebar in my VF Pages but I cannot seem to find it. I would do more research but I have a demonstration tomorrow morning.
Thank you for any information you may have.
All Answers
This is a way to have sidebar on the page but hide it:
(so you could show it later without leaving the page)
var previousOnload = window.onload;
window.onload = function() {
if (previousOnload) {
previousOnload();
}
document.getElementById('sidebarDiv').style.display = 'none';
document.getElementById('bodyCell').className = '';
}