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
ahll Posts: 1,508 Forumite
Part of the Furniture Combo Breaker
edited 19 July 2010 at 10:18AM in Techie Stuff
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
"The time is always right to do what is right"

Comments

  • pcombo
    pcombo Posts: 3,429 Forumite
    http://www.quackit.com/html/codes/html_open_link_in_new_window.cfm

    <a href="http://www.quackit.com/html/html_help.cfm&quot; target="_blank">HTML Help</a>

    target="_blank - makes it open in a new window.
  • Spank
    Spank Posts: 1,751 Forumite
    Tenth Anniversary 1,000 Posts Photogenic Name Dropper
    If your running IE8 got ot Tools, then Internet Options, then hit the Settings box next to Tabs. Uncheck Enable Tabbed Browsing.
  • [Deleted User]
    [Deleted User] Posts: 0 Newbie
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    edited 19 July 2010 at 6:50AM
    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.

    images?q=tbn:ANd9GcTLo9iH4N5XCnrnNiR4KKKNm3oEgs7omZuHBJNJ0Vi7zJW3eDU&t=1&h=172&w=216&usg=__R1-8wq-9aAaoUCyTYX1_MQf62i8=
  • ahll
    ahll Posts: 1,508 Forumite
    Part of the Furniture Combo Breaker
    edited 8 August 2024 at 1:41PM
    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.

    images?q=tbn:ANd9GcTLo9iH4N5XCnrnNiR4KKKNm3oEgs7omZuHBJNJ0Vi7zJW3eDU&t=1&h=172&w=216&usg=__R1-8wq-9aAaoUCyTYX1_MQf62i8=


    Wow thanks a lot I have finally understood how to do this

    My Forum Question

    Also as a picture

    images?q=tbn:ANd9GcTLo9iH4N5XCnrnNiR4KKKNm3oEgs7omZuHBJNJ0Vi7zJW3eDU&t=1&h=172&w=216&usg=__R1-8wq-9aAaoUCyTYX1_MQf62i8=
    "The time is always right to do what is right"
  • Hi,
    ahll wrote: »
    Wow thanks a lot I have finally understood how to do this

    My Forum Question

    well done, it works.
  • ahll
    ahll Posts: 1,508 Forumite
    Part of the Furniture Combo Breaker
    pcombo wrote: »
    http://www.quackit.com/html/codes/html_open_link_in_new_window.cfm

    <a href="http://www.quackit.com/html/html_help.cfm&quot; 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&quot; 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"
  • tronator
    tronator Posts: 2,859 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    ahll wrote: »
    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>
    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.
  • ahll
    ahll Posts: 1,508 Forumite
    Part of the Furniture Combo Breaker
    edited 19 July 2010 at 4:52PM
    tronator wrote: »
    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"
  • tronator
    tronator Posts: 2,859 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    ahll wrote: »
    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 ?

    No, the quote sign before target belongs to the end of the URL. They always come in pairs, one opens and the other closes the expression.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

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

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.