Forum Moderators: open

Message Too Old, No Replies

Frameless Pop Up Window

Why doesn’t this script function properly on Win XP SP2 & is there a fix?

         

domoftheuk

12:33 pm on Oct 13, 2004 (gmt 0)

10+ Year Member



Hello WebmasterWorld.com Friends

I have a found a script which is just what I want for my new web site, but the script does not function as it should do on Win XP SP2. Script URL below:

[codelifter.com...]
Click: Launch Demo Popup Window

is there a fix for this?

Lance

4:18 pm on Oct 13, 2004 (gmt 0)

10+ Year Member



It's actually not broken. The ability to open a full-screen window with no controls no longer exists in XP SP2. It's actually "fixed" now, IMHO. I believe disabling the PopUp blocker on the client will restore this functionality, but why would anyone want to?

domoftheuk

5:08 pm on Oct 13, 2004 (gmt 0)

10+ Year Member



Dear Lance,

Thank you for your reply. I have already turned off the Pop Up Blocker, but it doesn’t make any difference. Also my purpose is not to annoy my visitors with annoying pop up ads but too offer a different way of viewing information on my site without having a lot of white space as I will only be displaying little chucks of info.

Regards
domoftheuk (Dominic Naylor)

jimbeetle

5:18 pm on Oct 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Here's the official MS word on how SP2 affects certain site technologies:

[msdn.microsoft.com...]

Supposedly, "A pop-up window opened as a direct result of a user action (e.g., clicking a page element) will not be blocked."

It all depends on how the script works. Maybe you can try fiddling it around so it complies with the new guidelines.

domoftheuk

5:50 pm on Oct 13, 2004 (gmt 0)

10+ Year Member



Thank You for your reply jimbeetle,

The problem is not that the window will not launch the problem is it shows the title bar, status bar and is framed. The script is meant to get rid of the frames around the window and get rid of the title and status bars.

The script please have a look:
[codelifter.com...]

is there a fix for that script has it does not fuction as it would in versions before Win XP SP2

jimbeetle

2:41 pm on Oct 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hmmm. I can muddle my way through some js and can see what the script is supposed to do, but have no idea why it's no longer working under SP2. Might be the way the frameset is being built and called that IE doesn't like any longer.

And, have not been able to get it completely working with win98 IE6, just get the unresized full screen popup, whether from my own test file or the code site's demo link.

PCInk

2:44 pm on Oct 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



> it shows the title bar, status bar...

Yes, that is a SP2 update. This stops unscrupulous sites from opening a full screen window with no visible controls.

Most users do not know how to get away from these and just unplug their computer - possibly causing damage to hard disks or semi written files.

There is no way around it - except to use an alternative browser to IE.

encyclo

2:51 pm on Oct 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the problem is it shows the title bar, status bar and is framed

To be blunt, the problem is when a web designer thinks a frameless popup is a good idea.

Opening such a window without a title bar and a close button is simply wrong under any circumstances. It is a trapping mechanism that users have great difficulty getting out of, even if not full-screen.

You need to change your design to get rid of this kind of frameless popup completely for all your users, and in the meantime, let's appreciate a good move brought about by SP2.

Lance

2:57 pm on Oct 14, 2004 (gmt 0)

10+ Year Member



If you're just trying to display "tooltip" kinds of popups, take a look at the window.popup method or Google for "overlib".

But you've asked about "fixing" this a couple of times. The answer is:
"No you can't fix it because it is not broken. It is just something you can no longer do."

domoftheuk

3:29 pm on Oct 14, 2004 (gmt 0)

10+ Year Member



Thank you all for your replies it is greatly appreciated

I guess I’m just going to have to redesign part of my new web site