Any packages for forced popups?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
rkatl
Forum Newbie
Posts: 17
Joined: Tue Apr 22, 2008 8:20 pm

Any packages for forced popups?

Post by rkatl »

Wondering if there are any javascript packages (free or commercial) for forcing popups in the browser.

I really appreciate any references.

--RK
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Any packages for forced popups?

Post 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.
rkatl
Forum Newbie
Posts: 17
Joined: Tue Apr 22, 2008 8:20 pm

Re: Any packages for forced popups?

Post by rkatl »

but if the user disable popups in the browser, is there a way to force a popup?
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: Any packages for forced popups?

Post 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
rkatl
Forum Newbie
Posts: 17
Joined: Tue Apr 22, 2008 8:20 pm

Re: Any packages for forced popups?

Post 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.
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: Any packages for forced popups?

Post 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.
Post Reply