How to Resize a pop-up according to it's content height and width
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
How to Resize a pop-up according to it's content height and width... I've got a popup on my application and it's content is dynamic I mean sometimes it needs to be big or small according to it's content so how can i get over it... thanks.. I found some code but it's for pictures but i want it to make the same effect according to a div or another control... The code i found : Image function resize() { window.resizeTo(document.image.width+12, document.image.height+82); } [
](javascript: window.close();)
I am not a perfect programmer,but i have perfect's programmers' habits.