Forum Moderators: open
Login ----> Window 1 ----> Link to PopUp Window
Once clicked popup window ----> I want it to.
Close the window aswell so all u r left wit is da popup.
Im sure it is possible.
ThankYou Sebastien Payet
You can't close a window unless something on your page opened it, this is a security feature of Javascript. Why?
Advertiser A has his ads displaying in pop-ups on a site. (Imagine that. :-) ) He doesn't want any of his competitor ads to display. In fact, he doesn't care about the site his ad is pushing, all he cares about is selling his dirty widgets. So when his ad opens, he wants to close any window but his own. You could see how the action you are talking about would immediately be abused.
The same is true of scripts that try to diddle with content in other frames, if it didn't come from "here," you're not going to be able to do anything with it "there."