Welcome visitor
* Login
* Register
It is currently January 17th, 2019, 12:36 am
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
  button to close an Iframe
PostPosted: May 7th, 2009, 7:50 pm 
User avatar

Posts: 61
hi, just a simple question: is it possible to close an iframe with a button? or should i figure out what to do with it to make it look useful all the time?


Top
 Profile  
 
  Re: button to close an Iframe
PostPosted: May 7th, 2009, 8:24 pm 
User avatar

Posts: 48
i dont think you can completely close the iframe but what you can do is change its display to none
<input type="button" value="close iframe" 
onclick="document.getElementById('iframe').style.display='none'">


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