pop-up windows and pop-up stoppers - question

I

Igor

I need pop-up code that _will_ be stopped by a pop-up stopper.

I have a website that uses Jimco's Spawn add-in (thank you for that).
There is one problem I am having with it: If a pop-up stopper is active,
rather than suppressing the pop-up, the target opens in the same/original
MSIE window. I need to have _nothing_ happen -- which is what I experience
at every website that has pop-ups unless I disable my stopper.

I make a point of noting that a pop-up will appear wherever I have such a
link -- and it is also in my FAQ. And, I use PayPal for my shopping cart,
which _must_ have pop-up stoppers disabled to work. If with my pages the
target opens in the original window then the user will click "close" in the
non-spawned window and I will lose him/her.

I looked at PayPal's code and cannot figure out how it works versus
Jimco's. My newbie hunch is that it is done server side.

Here is the main page that I am trying get to work, as described:
http://www.kneedefender.com/html2/how_to.htm

As for looking at a Paypal link and how its pop-up works, you can look at
http://www.kneedefender.com/html2/buy.htm

Anyway, is there a way to do pop-ups at client side that will not pop-up if
the stopper is active? Thanks.
 
S

Stefan B Rusynko

Add a new window target to your link so the link opens in a new window when JavaScript is turned off or blocked
href="misc/KD_orng_pg.htm" target="_blank"

--




| I need pop-up code that _will_ be stopped by a pop-up stopper.
|
| I have a website that uses Jimco's Spawn add-in (thank you for that).
| There is one problem I am having with it: If a pop-up stopper is active,
| rather than suppressing the pop-up, the target opens in the same/original
| MSIE window. I need to have _nothing_ happen -- which is what I experience
| at every website that has pop-ups unless I disable my stopper.
|
| I make a point of noting that a pop-up will appear wherever I have such a
| link -- and it is also in my FAQ. And, I use PayPal for my shopping cart,
| which _must_ have pop-up stoppers disabled to work. If with my pages the
| target opens in the original window then the user will click "close" in the
| non-spawned window and I will lose him/her.
|
| I looked at PayPal's code and cannot figure out how it works versus
| Jimco's. My newbie hunch is that it is done server side.
|
| Here is the main page that I am trying get to work, as described:
| http://www.kneedefender.com/html2/how_to.htm
|
| As for looking at a Paypal link and how its pop-up works, you can look at
| http://www.kneedefender.com/html2/buy.htm
|
| Anyway, is there a way to do pop-ups at client side that will not pop-up if
| the stopper is active? Thanks.
|
|
 
I

Igor

Add a new window target to your link so the link opens in a new window when JavaScript is turned off or blocked
href="misc/KD_orng_pg.htm" target="_blank"

Wow. Works like a charm. I think this would be a nice feature for the
Jimco spawn ap. Thanks for the concise and effective help.
 
K

Kevin Spencer

It isn't necessary to add it to Spawn. You can do this easily in FrontPage
by setting the "Target Frame" property of a hyperlink.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top