Jump to content

Recommended Posts

Posted

Hi there,

I got a website. Designed it with Frontpage and all that but when I click on the links I am providing on the site it goes straight to the other guy's site. This, I want to end. I want a window or pop up window to open. I don't want my customers to leave my site.

Question: How do you make a link open in a separate window?

Thanks

Posted (edited)

I think that opening a seperate window is 'not done'. If you don't like people going to that lnk, remove the link.

As a user i can decide myself if i want to open a new browser or open it in a new tab.

A good way to study how HTML 'works' is to look at other sites with 'view source'.

Edited by Khun Jean
Posted
Add "target=blank" (including the quotes) at the end of the link.

I tried and tried but it doesn't work. Anymore advice? :o

Posted
I think that opening a seperate window is 'not done'. If you don't like people going to that lnk, remove the link.

As a user i can decide myself if i want to open a new browser or open it in a new tab.

A good way to study how HTML 'works' is to look at other sites with 'view source'.

I want them to go to the link but I don't want them to leave my site. I want the link to open in a separate window. I don't know what "view source" is. My Frontpage and computer skills are extremely limited :o

Posted

George's correction was the correct code. Your link should look like this:

<a href="http://www.freebeerforyorky.com/drivinginthailand.html" target="_blank">

This is a working link from one of my sites.

Posted
George's correction was the correct code. Your link should look like this:

<a href="http://www.freebeerforyorky.com/drivinginthailand.html" target="_blank">

This is a working link from one of my sites.

Actually only nearly correct, first double ear (") is in the wrong place in George's code :o It's

target="_blank"

not

"target=_blank"

Computers can be so fussy :D

Posted

I right clicked and then clicked on Hyperlink
The I typed in the address bar http://www.yoururl.com/target="_blank"
But :( aint working
-------------------------------------------
You should have done this: http://www.yoururl.com/"target="_blank"

*I took the gambling related link out

Posted

Here is a link from our site which opens in a new window:

<p align="center"><a href="http://www.victoria-adventure.org" target="_blank"><strong>http://www.victoria-adventure.org</strong></a></p>

This code was also created by Frontpage. Note the number of double quotes from the very beginning of the line.

When you insert a link on your site using Frontpage you have an option to select the behaviour of the link, one option is to have it open in a new window. You don't actually have to type the code in but you can do so in Frontpage by opening your page in html view, locate the link and add: target="_blank" at the end of the link.

opalhort

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...