Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-22 11:28:35

Germaris
Member
From: Montreal, QC Canada
Registered: 2005-11-12
Posts: 44
Website

Open links in a new window?

How do I set up my links to have them opened in a new window instead of the blog one?
Of course, I know the syntax _blank but what I want to know is how to set it up INSIDE the templates or modules…

Thanks in advance for a quick answer! :-)

Last edited by Germaris (2005-11-22 18:53:49)


If destiny is against us, just too bad for it!

Offline

#2 2005-11-22 22:50:05

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Open links in a new window?

Opening new windows is considered as “bad behaviour” and won’t validate for XHTML 1.0 Strict so is not part of the base code. It is considered best practice for your visitor to decide whether he/she wants a new window or tab or not and most browsers will allow you to “right-click” on a link and decide for yourself.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2005-11-22 23:06:33

Germaris
Member
From: Montreal, QC Canada
Registered: 2005-11-12
Posts: 44
Website

Re: Open links in a new window?

This makes sense so I’ll leave it as is…
Thank you, my friend! :-)


If destiny is against us, just too bad for it!

Offline

#4 2005-11-22 23:43:18

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Open links in a new window?

No problem. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB