Currently I have a link setup via the Write -> Pages function in the WordPress admin function and I would like this link to open in a new window as opposed to taking over my blog window.
Currently I have a link setup via the Write -> Pages function in the WordPress admin function and I would like this link to open in a new window as opposed to taking over my blog window.
Ctrl+click
Right-click >> Open in new window
sure that works, but i am talking about by default. when soneone clicks on it that it will open in a new window sort of like the _blank command.
Im not sure I follow. If you want one of the links that you wrote in a Page to open in a new window. When you write your Page stuff, then in there you want a link - just add the link from the clicktags and add the target="_Blank" to the
eg Your Link text
Im sorry if Ive misunderstood your question.
ahhhh - damit - forgot to textit
' IM Specialresor Travel Resources'
:) sorry new to WP
oh for heavens sake - someone better tell me how to include code as text
[code]
a href="http://www.web.com/resource/" TARGET="_blank" > Your link text etc [/code]
maybe this time?
Murry - look for the backtick
On my UK keyboard, it's to the left of the 1 and also has the ¬ character on it.
Enclosing <code> allows the <brackets> to be seen
Ohhhh - wally - thanks - I used the single quote comma - didnt realise after all these years of programming thats what a "backtick" was - embarressment.
on my keyord its on the bottom, key with the ¬and ¦ and woho `
ta Podz
Thanks for your help everyone. Had a major brain fart / poop.
I think that I want to do the same as you.
When I post a link in one of my articles, it will default to this ...
<a href="http://xxx.com">xxxx</a>
where I want it to default to this...
<a href="http://xxx.com" target="_blank">xxxx</a>
I tried to dig around in the "quicktags.js" file, but so far, no success. I am sure that I AM in the right place though.
Help?
RazorSA, near the end of quicktags.js look for the edInsertLink function, and change this line:
edButtons[i].tagStart = '<a href="' + URL + '">';
to:
edButtons[i].tagStart = '<a href="' + URL + '" target="_blank">';
Damn... I had actually already done that... But my browser had obviously cached the js file...
Thanks for your help man! It is working now!
This topic has been closed to new replies.