Forum Moderators: open

Message Too Old, No Replies

Problem with PopUp Windows

Can't open a new window the it used to open

         

lucero

7:33 pm on Sep 30, 2003 (gmt 0)

10+ Year Member



Hi!. I'm writing a problem that most of my users have on my website. I have to open a new window by using the javascript window.open method. This works fine but after 3 or 4 months out on the web some users have written to me that they can't see my website (the one that opens on a new window). I think that may be they have these programs that blocked pop ups but they can't tell me that because most of these users don't remember intalling a program that does that.
To explain a little bit about the code I use, I simply call a function on the ONLOAD HTML method that calls a JavaScript function. This Javascript function then calls the window.open method to open a new window.
I just want to know if I did something that does't work after a while using it and also if there are any programs around that can tell you if you have your pop up windows blocked. Thank you!

Reflection

8:31 pm on Sep 30, 2003 (gmt 0)

10+ Year Member



I would bet that it is being blocked by a pop up blocker or the browser itself(mozilla).

Not sure if there is any software that can tell you if your pages are being blocked by a pop up stopper.

lucero

9:17 pm on Sep 30, 2003 (gmt 0)

10+ Year Member



Thank you for that quick answer. I just implemented a code that verifies if a user installed a program that blocks popups windows. It sort of checks if the window can open or not. I hope this works.
I also wanted to say that most of the users of my site say they have this problem with my website but not with others. This means that they can open new windows perfectly in other sites but now they can't in mine.
If anyones thinks is something else than a popup blocker I would sure like to know.

MonkeeSage

12:14 am on Oct 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you make the popup open by a link instead of opening when the page loads, then most blockers will not stop it. They only usually only block unrequested popups.

Jordan

lucero

12:22 pm on Oct 1, 2003 (gmt 0)

10+ Year Member



I think it might be that I put the window.open method on the ONLOAD. I'll try to change that. Still this worked find for about 3 months. Thanks for your help.

BergtheRed

9:03 pm on Oct 2, 2003 (gmt 0)

10+ Year Member



if it worked before, and not now --it sounds like something your surfers are doing. i'd see what browser people are using that are having the problem and dig into that. IIRC either Opera or Mozilla allows you to block and also allow consoles from specific web sites.

lucero

9:28 pm on Oct 2, 2003 (gmt 0)

10+ Year Member



Thank you all for your help. I think I solved the problem. I put the window.open method on a link and took it out of the ONLOAD method. The good thing about this is that I studied a lot about popup blocker programs and they all work really diferent. Anyway I recomend to put a window.open not on the ONLOAD even though this works perflectly fine in some other websites I have and goes through a popup blocker with no problem (the window opens fine). I can finally recomend not to put a popup on ONLOAD.