homepage Welcome to WebmasterWorld Guest from 54.161.143.22
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
window.open/self.close....having some problems...
Can't get a window past pop-up blockers
mallad




msg:1490464
 7:56 am on Feb 2, 2005 (gmt 0)

On a site I'm working on right now I have the index.htm set to open a new page on my site in a stripped window etc etc, then close itself. With pop-up blockers and especially with new AOL and windows SP2 my site won't display correctly. It just closes both windows. I reallly don't want to use an intro page to get to the site, but it has to be chromeless and 800x600.
to make it more clear..first page is index.htm, second page it brings up is axindex.htm

any way to have axindex.htm close index.htm after it is popped up? or any other suggestions?
thanks a lot for yout time! :-)

 

korkus2000




msg:1490465
 4:02 pm on Feb 2, 2005 (gmt 0)

Welcome to WebmasterWorld mallad,

I believe window.opener.close() will work.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved