Page 1 of 1

Any packages for forced popups?

Posted: Wed Nov 07, 2012 3:54 pm
by rkatl
Wondering if there are any javascript packages (free or commercial) for forcing popups in the browser.

I really appreciate any references.

--RK

Re: Any packages for forced popups?

Posted: Wed Nov 07, 2012 5:05 pm
by requinix
If it's a legitimate popup (like triggered by a mouse click) then I think the browser will let it show. It's the drive-by popups that tend to get stopped.

Re: Any packages for forced popups?

Posted: Wed Nov 07, 2012 5:27 pm
by rkatl
but if the user disable popups in the browser, is there a way to force a popup?

Re: Any packages for forced popups?

Posted: Wed Nov 07, 2012 5:40 pm
by twinedev
Well it depends on what type of popup are you talking about?

A simple popup message ( see http://www.w3schools.com/js/js_popup.asp )
A new window popping up ( see http://www.w3schools.com/jsref/met_win_open.asp )
A Div that is on the current page that acts like a popup on the page, hidden at first and a div "blocking" all other page content with your "popup" div on top of it (google jquery lightbox )

When you ask of "force" it implies to me that this is something the user will not want, so the the question would be what are you popping up on them?
Something to remember, all of those require javascript, which can easily be shut off (or if you have a JS error on your site, will not work anyhow).

If it is something for a "required it" (ie, security reasons), always make sure you have NON javascript backup in place, which is always good anyhow.

-Greg

Re: Any packages for forced popups?

Posted: Wed Nov 07, 2012 6:21 pm
by rkatl
Thanks for the details. We just need to show multiple windows to the user.
when you say NON javascript, how do you do that? All of those example seems to use javascript.

We tried jquery popup. Looks like if the user disables the popups it does not work.

Re: Any packages for forced popups?

Posted: Thu Nov 08, 2012 4:50 am
by twinedev
Non javascript means server side validation to make sure things come in as planned. I have seen many sites that do javascript to validate data, but if you shut of javascript, you can submit with the bad information.