Open page in new window as default?

D

Deaana

Hi.

I am so tired of putting TARGET="NEW" in my links; is there any way to set
all links to be opened in a new window as default so I don't need to?

Thanks,
Dea
 
B

brucie

I am so tired of putting TARGET="NEW" in my links;

then stop it and let the visitor decide if they want a new window or
not. you may also want to have a look at what _blank is.
 
H

Hywel Jenkins

Hi.

I am so tired of putting TARGET="NEW" in my links; is there any way to set
all links to be opened in a new window as default so I don't need to?

Why are you targeting a frame called "NEW" to open a link in a new
window? You should be using "_blank".
 
D

DU

Deaana said:
Hi.

I am so tired of putting TARGET="NEW" in my links; is there any way to set
all links to be opened in a new window as default so I don't need to?

Thanks,
Dea

It would be in your best interest to elaborate on what exactly is your
webpage situation, context (a clear explanation of what is the real
issue) and what you really want exactly with your webpage/website.

Target="NEW" will open links in a window identified with the name "NEW"
all the time: the first one will be created because it does not exist.
If the user closes it, then clicking another link with target="NEW" will
re-create it and open it (so the end result is that it will usually
behave like a target="_blank").

Having a webpage [re-]creating and [re-]opening new additional secondary
windows is definitively not recommendable. Lots of serious studies in
usability have proven this beyond a single doubt. Like Brucie answered
you, the best attitude is to code in a way that it lets the users decide
for themselves and by themselves. Users can even prevent a page with
links coded with target="_blank" from opening new windows in
Mozilla-based browsers (also proxomitron users).
Best is to have a page coded so that only at most 1 single secondary
popup window is in use and it will be re-used if the user clicks another
link.

More explanations (and references to usability studies):
Popup windows and Netscape 7: interactive demos
http://www10.brinkster.com/doctorunclear/Netscape7/Popup/PopupAndNetscape7.html

What I preach and practise myself:

http://www10.brinkster.com/doctorunclear/BrowserBugsSection/Opera7Bugs/Opera7Bugs.html

http://www10.brinkster.com/doctorunclear/HTMLJavascriptCSS/EnlargeThumbnail.html

DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunclear/Netscape7/Netscape7Section.html
 
E

EightNineThree

Deaana said:
Hi.

I am so tired of putting TARGET="NEW" in my links; is there any way to set
all links to be opened in a new window as default so I don't need to?

How about not fucking with your visitor's computer and letting them open new
windows when they want them?


--
Karl Core

At times one remains faithful to a cause only because its opponents do not
cease to be insipid.
Friedrich Nietzsche

eightninethree AT eightninethree.com
 
W

William Tasso

EightNineThree said:
How about not fucking with your visitor's computer and letting them
open new windows when they want them?

had a stressful day then Karl?
 
E

EightNineThree

William Tasso said:
had a stressful day then Karl?

Yes. ;-)
Somehow days that have nothing on the schedule always evolve into the most
chaotic.
This one spun out of control at 9am.


--
Karl Core

At times one remains faithful to a cause only because its opponents do not
cease to be insipid.
Friedrich Nietzsche

eightninethree AT eightninethree.com
 
D

Deaana

Thank you, this is exactly what I needed.

Dea

FYI, this page is actually a blog, new links would be added and removed
alot, and so I felt the need to open them in new windows since most of them
would be to complete, utter, nothing to do with my page, pages.

Thank you all for the wonderful welcoming comments. I'll be sure and come
back when i need help again. =P.
 
D

Deaana

Actually, the code turned out to be <base target="_blank"> as what I needed,
but you put me on the right track, thank you!

Dea
 

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

Members online

Forum statistics

Threads
474,079
Messages
2,570,575
Members
47,207
Latest member
HelenaCani

Latest Threads

Top