|
|
Q1776 Is it possible to make a pop-up window automatically resize to fit all the text and images contained in a page?
irt.org | Knowledge Base | category | subcategory | Q1776 [ previous next ] Q1776 Is it possible to make a pop-up window automatically resize to fit all the text and images contained in a page?This works in IE. Encapsulate all the content of the document in a div. Set 2 event handlers in the body tag one for onLoad and one for onResize to fire the function fitWin(). This function gets the rendered height of the layer and the height of the window and resizes by the difference.
Submitted by Dave Whiting |
-- div -->
|