Welcome visitor
* Login
* Register
It is currently September 15th, 2019, 9:57 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 5 posts ] 
Author Message
  close window
PostPosted: May 6th, 2009, 7:58 pm 
User avatar

Posts: 52
Hi, the way that i want to close this child window is when it looses focus or anything else is clicked, how can i do it?


Top
 Profile  
 
  Re: close window
PostPosted: May 6th, 2009, 8:50 pm 
User avatar

Posts: 137
<body onblur="self.close()">


Top
 Profile  
 
  Re: close window
PostPosted: May 6th, 2009, 10:18 pm 
User avatar

Posts: 52
thank you, do you know how to keep it open? 'cause no matter if i click inside the window or in a different window, it will close anyways.


Top
 Profile  
 
  Re: close window
PostPosted: May 6th, 2009, 10:20 pm 
User avatar

Posts: 137
yeah thats the thing, it works perfect in ff and opera, but ie has that problem, sorry...


Top
 Profile  
 
  Re: close window
PostPosted: May 6th, 2009, 10:37 pm 
User avatar

Posts: 52
Ok, thank you, ill see if i can get a way around it.


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

FORUMS » Client Side » JavaScript


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