Welcome visitor
* Login
* Register
It is currently July 18th, 2019, 5:20 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  resize iframe to fit its content
PostPosted: August 10th, 2009, 4:29 pm 

Posts: 18
i need to find a way to resize an iframe to fit its content. I have the idea of how to do this but im lost in one vital part, do you know how to get the size of the framed document? I think i can handle the rest but im stock here by now. All help is welcomed.


Top
 Profile  
 
  Re: resize iframe to fit its content
PostPosted: August 10th, 2009, 4:36 pm 
User avatar

Posts: 79
alert(document.getElementById('iframeID').contentWindow.document.body.scrollHeight);


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron