Welcome visitor
* Login
* Register
It is currently September 19th, 2019, 10:12 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  verify with javascript if a window exists
PostPosted: February 22nd, 2009, 1:28 am 
User avatar

Posts: 37
Hey there,

Im working on a picture gallery project in which the user cliks on a thumbnail and the pic is displayed on a pop-up window. In case the pop-up window is already open, I just want to change the content and not open another window, my question is how can I know if the window is already open?


Top
 Profile  
 
  Re: validate with javascript if an object exist on the window
PostPosted: February 22nd, 2009, 1:56 am 
User avatar

Posts: 48
use if
if(window){change content}else{open window}


Top
 Profile  
 
  Re: verify with javascript if a window exists
PostPosted: February 22nd, 2009, 4:49 am 
User avatar

Posts: 70
also u can try using name for the window and send the content, or link to that specific window, hth


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