Make menu link open in new window

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
MadFly
Regular
Posts: 56
Joined: Fri Dec 26, 2008 7:47 pm
Location: Cape Town, South Africa

Make menu link open in new window

Post by MadFly »

How do i change the links at the top of my blog to go to a new page if you click on one. I made one to google, but it opens up on the same page. There where you can manage styles.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Make menu link open in new window

Post by yellowled »

MadFly wrote:How do i change the links at the top of my blog to go to a new page if you click on one. I made one to google, but it opens up on the same page. There where you can manage styles.
*sigh* First of all, you should always give an URL to your blog (you can do that pretty simple in your forum profile) or at least mention the template you're using. We're not clairvoyants, you know :wink:

Second, why would you want to do that? Why not let your visitors choose whether they want to open a link in the same window/tab or not? (Besides, most modern browsers offer one or more techniques to override it anyway.)

Third, you're looking for target="_blank", which most likely won't work in a configurable menu bar like in i.e. the Bulletproof template.

YL
MadFly
Regular
Posts: 56
Joined: Fri Dec 26, 2008 7:47 pm
Location: Cape Town, South Africa

Post by MadFly »

Sorry about that.

I am using I3theme. and the link is http://www.madfly.co.za/diary

i did try that
target="_blank"
, but i think i got the " screwed up somewhere, because afterwards it shows the whole thing as http://www.google.co.za/" target="_blank"

but when i type <a href="http://www.google.co.za/" target="_blank">Open google</a> into an html document it does open it in new window.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

MadFly wrote:i did try that
target="_blank"
, but i think i got the " screwed up somewhere
As I said before, target="_blank" won't work in a configurable menu.

See http://board.s9y.org/viewtopic.php?p=82214 for a possible alternative.

YL
Post Reply