Skip to Content
0
Former Member
Oct 22, 2009 at 10:58 PM

Removing vertical scroll bar on innerpage/content area

11 Views

Hi All,

I am trying to remove extra vertical scroll bar on innerpage/content area. I followed below weblog

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5192 ..."Those pesky scrollbars when using URL isolation"

It works if I give fixed pixels like 1000 px for inner page height.

obj = document.getElementById("isolatedWorkArea");
obj.style.height = 1000 + 'px';

But its not getting dynamic height of the content area using below code which is mentioned in the blog.

reqsize = window.frames[obj.name].document.body.scrollHeight + 100 ;
obj.style.height = reqsize + 'px';

Please advice if anybody have a solution for this.

Thanks a lot.