bottomMargin;
if (hasNav == true) {
- var iframeWidth = (winWidth - 325)+'px';
+ var navBarWidth = document.getElementById('ims-menudiv').offsetWidth;
+ var iframeWidth = (winWidth - navBarWidth - 25)+'px';
document.getElementById('ims-menudiv').style.height = (winHeight - totalHeight)+'px';
}
else {
document.getElementById('ims-contentframe').style.height = (winHeight - totalHeight)+'px';
document.getElementById('ims-containerdiv').style.height = (winHeight - totalHeight)+'px';
document.getElementById('ims-contentframe').style.width = iframeWidth;
-}
\ No newline at end of file
+}