all new popus should use the same (only one) popup window ?

K

Kaushal

Hello all,

I need to display only one pop-up window no matter how many links i
click.

to explain it a little better:

assume that i have 5 links on a page. the current behaviour open 5
popup windows when i click on those 5 links.
what i want is, say the user clicks on a link(say link1) , a popup
window should appear with contents specific to link1. now when the user
clicks another link(say link2) the same popup window should stay but
the contents should change specific to the link2.

can anyone help ?

kaushal
 
J

Jon Kennedy

Try this - in IE go to Tools...Internet Options...Advanced tab, Browsing
section, and check the box by "Reuse windows for launching shortcuts", click
Apply, click Okay. Now, this won't work for all links as some web page
authors can code links to open in new windows (of a certain size, placement,
and with or without toolbars, etc.) no matter what.
 
K

Kaushal

i need to do it programatically.


Jon said:
Try this - in IE go to Tools...Internet Options...Advanced tab, Browsing
section, and check the box by "Reuse windows for launching shortcuts", click
Apply, click Okay. Now, this won't work for all links as some web page
authors can code links to open in new windows (of a certain size, placement,
and with or without toolbars, etc.) no matter what.

--

Jon R. Kennedy MS MVP/IE
Charlotte, NC USA
(e-mail address removed)
 
K

Kaushal

I found the way to do it.

what I had was <a href="link" target="_blank"></a>

instead I used <a href="link" target="newWindow"></a>

and now all the popUps are opening in just one popUp window.

P.S. you can use any name for the target attribute except _blank.

Kaushal
 

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

Top