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

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  Resize a frameset with a button
PostPosted: October 31st, 2009, 7:37 pm 

Posts: 14
Hi, I have a frameset with 3 frames and I want to put some buttons on frame1 that change the size of frame2 and frame3 but I dunna how to do it. Can you help me please?

Thank you.


Top
 Profile  
 
  Re: Resize a frameset with a button
PostPosted: November 1st, 2009, 12:31 am 
User avatar

Posts: 63
<input type="button" value="resize" 
onclick="parent.document.body.rows='300px,500px,100px'" />


Top
 Profile  
 
  Re: Resize a frameset with a button
PostPosted: November 1st, 2009, 1:17 am 

Posts: 96
For an iframe this syntax ought do it
parent.document.getElementById('iframeId').style.width='800px';


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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