Set Link to Open in New Page?

Joined
Jan 16, 2007
Messages
226
Reaction score
1
Points
18
I have links on my website now where people can buy my music and fiction via Paypal. It's working great, I would just like to set things up so that when they clicked on the Buy Now button, it opened in a new page, rather than changed the current one.

Can you tell me how to alter the text of the standard link <a href="http://www.paypal.com/"> so that it opens in a new browser page?


Thank you in advance for any replies!
 
Joined
Sep 21, 2005
Messages
809
Reaction score
111
Points
43
Location
ohio
Your Mac's Specs
iBook G4 OSX Tiger
<a href="http://www.paypal.com/" target="_blank"> should do it.
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
Yes the above will do it, but usability experts frown upon such things as it confuses the user by 'breaking the back button' i.e. when the new page opens in a new browser window the back button (of the new window) will not take the user back to the page they came from!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top