Zen Cart Logo
Forums / General Questions / New window - how to do it?

New window - how to do it?

Views: 506

Results 1 to 4 of 4
19 Feb 2011, 4:27 PM
#1
ekele avatar

ekele

Zen Follower

Join Date:
Apr 2010
Location:
UK
Posts:
150
Plugin Contributions:
0

New window - how to do it?

Hello everyone!
I have added a link to product description but I would like it to open in a new window. How can I do it? I guess I need to add a bit of code? Could anyone help?
Thank you in advance.:smile:
Ella

19 Feb 2011, 4:46 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: New window - how to do it?

Add target=blank to your link code

19 Feb 2011, 5:37 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: New window - how to do it?

This will open a link in the SAME window:

<a href="your_link_URL_here">Go Here</a>

This will open it in a NEW window:

<a target="_blank" href="your_link_URL_here">Go Here</a>
20 Feb 2011, 12:23 PM
#4
ekele avatar

ekele

Zen Follower

Join Date:
Apr 2010
Location:
UK
Posts:
150
Plugin Contributions:
0

Re: New window - how to do it?

Than you very much! Works perfectly:D