Index: ssts-web/src/main/webapp/homepage/portalPage.js =================================================================== diff -u -r33869 -r34914 --- ssts-web/src/main/webapp/homepage/portalPage.js (.../portalPage.js) (revision 33869) +++ ssts-web/src/main/webapp/homepage/portalPage.js (.../portalPage.js) (revision 34914) @@ -1147,13 +1147,14 @@ var height=window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; - height = height - 45; - //var height = $(window).height()-45; var secObj = document.getElementById('top_conttent1'); - if (secObj.className != "top_content_off"){ - height-=80; + var obj = document.getElementById('top_div'); + if(obj.style.display == 'block'){ + if (secObj.className != "top_content_off"){ + height-=80; + } } var content = createFrame(id,href,height); var div = "
![]() |