Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   Web Design and Hosting (http://www.mac-forums.com/forums/web-design-hosting/)
-   -   Set Link to Open in New Page? (http://www.mac-forums.com/forums/web-design-hosting/96687-set-link-open-new-page.html)

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="http://www.paypal.com/"> 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="http://www.paypal.com/" 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 12:37 AM.

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