«Home

Pop Up Window Script That Is Multi Browser Supported?

It seems that the level of implementation of standards by browser makers differs to a very uncomfortable level to the extent that what works on one or two browsers won't even work on another.

I was asked to implement a pop up window feature on some links that point to another website some months ago.

Since I was hooked to google chrome I made the mistake or relying on it while developing the application and the javascript enabled popup seem to work just fine until I realized it wasn't responsive or throws up a blank page on some other browsers.

Now, I have checked for the most recent implementations of javascript enabled window popup and after testing 3 of them I found out that none works well across the 3 browsers I targeted - Google Chrome, Microsoft IE and Mozilla Firefox.

This leads to the next question - Is there any good reason to even use pop up windows considering the fact that implementation of standards by browser makers differ from one to the other?

Or, is there an implementation out there that I may have failed to realize or see?

Personally, I would not bother with pop up windows on my own projects for any reasons at all. Links that are bound to open in another window should simply do so with a notification to the user information the user that such links when clicked upon would open in another window.

Avatar
Newbie
7 answers

You are very much welcome. All is well that ends well. . .

0
Avatar
Newbie

Thanks everyone. The issue of pop windows on the website has been taken care of.

0
Avatar
Newbie

the jquery thickbox works like that dhtml window. But if you are using jquery already on your site, it is faster and lighter to implement, otherwise just use any of those windows widget found on dynamic drive to maintain light weight websites.

0
Avatar
Newbie

@yawatide,

Thanks. The second option worked like magic thanks.

0
Avatar
Newbie

Yes ,I think tis best to c how u implemented it.

I haven't had any issues with implementing popups across browsers except with respect to heights and widths of the popup itself.

Recently though, I have come to believe that using popups ends up giving the user too many windows too manage and so I have been using jquery's thickbox. This keeps them on the same page while at the same time creates a cool "effect".

I am familiar with the way a list apart does it and have used it often (where you have an onclick on a link and use an HREF, the latter which comes in very handy if a user disables javascript).

Let's start with seeing your code then we go from there.

0
Avatar
Newbie

Thanks.

Please see these 2 links.

http://www.alistapart.com/articles/popuplinks/

http://accessify.com/features/tutorials/the-perfect-popup/

Will post the one I used initially before I noticed the cross browser support issue later.

Thanks once again for your time.

0
Avatar
Newbie

Well. . . .i am not perfectly sure of this, but can i see your script implementation? maybe i can patch it to work crossplatform.

I am a little bit reluctant to post anything yet. 'cos i seem to have based all my work on my new library these days, but that

does not mean i cannot still write procedural.

0
Avatar
Newbie
Your answer
Add image

By posting your answer, you agree to the privacy policy and terms of service.