thejoker101
06-24-2003, 04:59 PM
Here is what happens:
I have a page that pops up a small pop-up window. There is a link on that page and when it is clicked, i want the original page to go to the href pointed to by the link and the little window to close.
Here was my solution to it:
I have a .js file with all my javascript functions in it, also in there is a variable declaration: self.name = 'mainwin';. In the pop-up window, in the link, i have a target="mainpage" and a onclick="self.close();"
This workes in IE 6, but doesn't seem to work in Moz 1.3, Opera 7, or NS 7.
Any help?
I have a page that pops up a small pop-up window. There is a link on that page and when it is clicked, i want the original page to go to the href pointed to by the link and the little window to close.
Here was my solution to it:
I have a .js file with all my javascript functions in it, also in there is a variable declaration: self.name = 'mainwin';. In the pop-up window, in the link, i have a target="mainpage" and a onclick="self.close();"
This workes in IE 6, but doesn't seem to work in Moz 1.3, Opera 7, or NS 7.
Any help?