We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
How to add a link that opens in new window
Options

ahll
Posts: 1,508 Forumite

Hi,
I was wondering if there was an easy way to open a link in a new pages rather than in the current one..
So if I was to copy the link to this page (see below) how could I make sure it opens in a new window ?
Also how can I name the link say for e.g. 'My forum question' so that I dont have to display all the link like below ?
My Forum Message
I was wondering if there was an easy way to open a link in a new pages rather than in the current one..
So if I was to copy the link to this page (see below) how could I make sure it opens in a new window ?
Also how can I name the link say for e.g. 'My forum question' so that I dont have to display all the link like below ?
My Forum Message
"The time is always right to do what is right"
0
Comments
-
http://www.quackit.com/html/codes/html_open_link_in_new_window.cfm
<a href="http://www.quackit.com/html/html_help.cfm" target="_blank">HTML Help</a>
target="_blank - makes it open in a new window.0 -
If your running IE8 got ot Tools, then Internet Options, then hit the Settings box next to Tabs. Uncheck Enable Tabbed Browsing.0
-
Hi,
if you right click link you will get the option 'open in new tab' or ''open in new window'.
to 'name' your link, click on it to copy it, then in message type My forum question and highlight it, then using the link icon, wee globe, paste, whilst still highlighted you can then change to colour and make bold, to make it stand out, I prefer green and bold.
Look a rainbow.
You can add a picture in much the same way, copy link, then using the wee postcard thingy, paste, you may have to upload to the likes of photobucket first.0 -
[Deleted User] wrote:Hi,
if you right click link you will get the option 'open in new tab' or ''open in new window'.
to 'name' your link, click on it to copy it, then in message type My forum question and highlight it, then using the link icon, wee globe, paste, whilst still highlighted you can then change to colour and make bold, to make it stand out, I prefer green and bold.
Look a rainbow.
You can add a picture in much the same way, copy link, then using the wee postcard thingy, paste, you may have to upload to the likes of photobucket first.
Wow thanks a lot I have finally understood how to do this
My Forum Question
Also as a picture"The time is always right to do what is right"0 -
Hi,
well done, it works.0 -
http://www.quackit.com/html/codes/html_open_link_in_new_window.cfm
<a href="http://www.quackit.com/html/html_help.cfm" target="_blank">HTML Help</a>
target="_blank - makes it open in a new window.
Thanks a lot for the response but I am not totally sure what you are telling me here.
I was looking to put a link to a newpapre article onto a mate website. We just cut and pasted it but when we clicked on it it took us away from the website to the newspaper one. So I was trying to find how we could do it so the newspaper article opened in a new window.
E.g. Newspaper report link
Are you saying we need to use this format
<a href="http://www.quackit.com/html/html_help.cfm" target="_blank">HTML Help</a>
target="_blank - makes it open in a new window
or just put ht...new_window.cfm on the end ?
Sorry but would you be able to give me a step by step account of what I need to do so it could be in a link(Newspaper report link' like above ?
"The time is always right to do what is right"0 -
I was looking to put a link to a newpapre article onto a mate website. We just cut and pasted it but when we clicked on it it took us away from the website to the newspaper one. So I was trying to find how we could do it so the newspaper article opened in a new window.
E.g. Newspaper report link
Are you saying we need to use this format
<a href="http://www.quackit.com/html/html_help.cfm" target="_blank">HTML Help</a>
target="_blank - makes it open in a new window
or just put ht...new_window.cfm on the end ?
Sorry but would you be able to give me a step by step account of what I need to do so it could be in a link(Newspaper report link' like above ?
You need to insert target="_blank" directly into the HTML code. Have a look into the HTML code of this page (CTRL+U in Firefox) and you'll find<a href="http://www.mirror.co.uk/news/health-news/2010/07/15/mind-over-batter-115875-22413905/" target="_blank"><font size="3"><font color="green">Newspaper report link</font></font></a>
Is your mate using any CMS software like Joomla or is he programming it in pure HTML? I would think the first, otherwise he would know how to do it. In Joomla you can specify where to open a link.
0 -
You need to insert target="_blank" directly into the HTML code. Have a look into the HTML code of this page (CTRL+U in Firefox) and you'll find
in your last post. The forum software inserts it automatically into the HTML code if the link is not on this site.
Is your mate using any CMS software like Joomla or is he programming it in pure HTML? I would think the first, otherwise he would know how to do it. In Joomla you can specify where to open a link.
I have looked at the code and would I actually have to type in "target="_blank" as there seems to be a " before the target ?
I believe I have it all sorted now....thanks for all your help
This is not in the code in the website....the website has been designed and built by someone else and my mate can put stuff on it."The time is always right to do what is right"0 -
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.6K Spending & Discounts
- 244K Work, Benefits & Business
- 598.8K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards