471,092 Members | 951 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

Reducing height of the displayed page in Mozilla

Hello Friends,

I have a textarea at the bottom of my JSP page. User can toggle its height to 100px and 300px by clicking a button.

When the toggle happens from 300px to 100px, in IE the page height also gets adjusted. But in Mozilla once extended, the page remains extended. The sroll bar remains of the same size and a white area gets displayed in the space of 200px [contracted value]

Any idea if I can make some change into the rendered page size height?

Regards,
Leena
Feb 19 '07 #1
2 1025
acoder
16,027 Expert Mod 8TB
See if this link helps.
Feb 19 '07 #2
Thank you for the reply.

I tried the following-
document.body.clientHeight = document.body.clientHeight - 200;

but it gives me error saying setting a property that only has a getter.

I need to alter the increased page size.

Regards,
Leena
Feb 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Terry | last post: by
12 posts views Thread by Kepler | last post: by
22 posts views Thread by Les Juby | last post: by
3 posts views Thread by Raghavendra | last post: by
reply views Thread by Filipe Martins | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.