Hide SP ribbon in modal view
Hi,
Use this:
Use this:
Code: Select all
if (window.top !== window.self) {
$('#s4-workspace').css('height', $('#s4-workspace').css('height') + $('#s4-ribbonrow').css('height'));
$('#s4-ribbonrow').css('display', 'none');
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests