Forum Moderators: open

Message Too Old, No Replies

Mozilla hates self.close()?

         

norm1220

11:43 pm on Feb 12, 2003 (gmt 0)

10+ Year Member



I've been playing with DHTML. I have a Layer that floats across the page, and when it reaches the edge, the window closes. This works in IE, but Mozilla will not respond to self.close(). Any ideas why this usually cooperative browser is being so stubborn?

/* Sure, go ahead and code in your fancy IDE. Just remember: it's all fun and games until someone puts an $i out */

BjarneDM

1:00 am on Feb 13, 2003 (gmt 0)

10+ Year Member



try to take a look at preferences:advanced:scripts & plugins
this is where the settings for what javascripts are allowed to do are set. I think that the first one - move or resize excisting windows - is controlling self.close().

seindal

12:06 pm on Feb 13, 2003 (gmt 0)

10+ Year Member



I believe self.close only works on windows opened by javascript.

amznVibe

4:07 pm on Feb 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



oh no, a floating DHTML ad? are we really gonna help with that? ;)