javascript - Html: how to calculate layout boundaries -


Is it possible to calculate the boundaries for the html layout block?

For example

  & lt; Div id = "region" & gt; ... & lt; / Div & gt;  

and #area need to find the minimum size (width, height measured in pixels) to fit the popup modal dialog.

How are these perspectives stable?

Thank you in advance!

You can use jQuery width and height functions.

See

This works for me in FF and IE 6/8, so it is quite stable.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -