This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes how to get the div offsetheight in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to get the div offsetheight in JSP" Watch "how to get the div offsetheight in JSP" New topic
Author

how to get the div offsetheight in JSP

Joao Cunha
Greenhorn

Joined: Jul 12, 2004
Posts: 24
Hi folks!

I have an object that store the properties of a window like title, height and width, and this window is so rendered on the browser.

The window height must have the same height of a div, that is the page content div.
So, I�d like to set the height property of the window, on the object, with this value.
So, it�s teh question. How can I get the content div height, from html, to set the height property of the window representation object?

Thanks!
Joao
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

Moving to the HTML/Javascript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: how to get the div offsetheight in JSP