I am using a Serendipity blog that was part of my web package with Dotster.
I love it -- it's pretty easy to use but one annoying problem. When I add a link to another website, the new site comes up in the same window with my web address still in the address bar instead of the new site.
What I would like to do is have the link open in a new window.
Any ideas? I have a blogrolling blog on the site that does it, but the links I add myself do not and I cannot find the place to change the setting....
Thanks a bunch!
Getting links to open in new window
-
rtaylor551
- Posts: 4
- Joined: Mon Aug 13, 2007 12:08 am
- Location: Arkansas
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Getting links to open in new window
Hi!
You'll need to change the HTML code for your link to read:
to make it open in another window.
HOWEVER, remember that this is deprecated in recent XHTML specifications. They say, the user agent (the browser of your visitor) should decide how links are added. Your visitors should always have the choice where and how they should open windows. Most people prefer their links being opened in tabs, that's why browser manufcatures added the middle-mouse-click and ctrl-mouse-click to let visitors decide this behaviour.
Best regards,
Garvin
You'll need to change the HTML code for your link to read:
Code: Select all
<a href="http://site.com" target="_blank">
HOWEVER, remember that this is deprecated in recent XHTML specifications. They say, the user agent (the browser of your visitor) should decide how links are added. Your visitors should always have the choice where and how they should open windows. Most people prefer their links being opened in tabs, that's why browser manufcatures added the middle-mouse-click and ctrl-mouse-click to let visitors decide this behaviour.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
rtaylor551
- Posts: 4
- Joined: Mon Aug 13, 2007 12:08 am
- Location: Arkansas
- Contact: