This one should be so easy. But not for me. All I want is a close script that works in Firefox as well as IE, that doesn't make an alert box come up. All the ones I have found make that Windows alert come up that says "The web page you are viewing is trying to vlose the window. Do you want to close this window?" I don't want that.
I love this one, because the window closes nice and clean, without that alert crap. But it only seems to work in IE. Is there one like this that works in FF too?
Code:<a href="javascript:window.opener='x';window.close();">Close</a>




Reply With Quote

Bookmarks