on 10-22-2009 11:58 PM
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.
Hello,
First of all if you wand to remove the scroll bar you should use;
obj.style.overflow="hidden";
About dynamic height I cannot tell you if the sollution proposed on the blog is suitable for you.
Normaly you should use only:
reqsize = document.body.scrollHeight + 100 ;
In order to find out the total height of your page.
I don't understand why do you want to do all this. You will have cases when parts of the content will not be visible to the user due to these restrictions.
BR
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.