Mac Forums

Mac Forums (
-   Web Design and Hosting (
-   -   Set Link to Open in New Page? (

Christopher 02-13-2008 12:59 AM

Set Link to Open in New Page?
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=""> so that it opens in a new browser page?

Thank you in advance for any replies!

puaerotch 02-13-2008 07:55 AM

<a href="" target="_blank"> should do it.

Del 02-13-2008 11:33 AM

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!

All times are GMT -4. The time now is 02:56 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.