Popup blocking.

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Popup blocking.

Post by impulse() »

Is using Javascripts new.window method a bad idea due to pop-up blockers? I'm not sure how strict they are. Does anybody here avoid creating new windows at any cost?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

I try to avoid it because it takes forever :-( Probably just too many crappy add-ons.

Have you considered using an absolutely positioned DIV popup? or do you need some sort of satellite document?
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

I've never understood the div tag. I've seen it popup in CSS templates I've used but I quite frankly haven't got a clue what it does. I feel I should know this as I see it quite a lot. So probably by the time you finish reading this sentence I will have gone through a tutorial and know what it is, why to use it and how I can use it to do what you suggest :)
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

Just do not open new windows. Most users would like to decide themselves whether to open a new window or not.

If it's for a small message or image or so, use something like lightbox
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

That's very funky. I've saw a couple of websites that do that and I've never found which technology is used to do it, untill now.
Post Reply