Forums / Setup & design / Links to open in a new window

Links to open in a new window

Author Message

Jonas Brown

Thursday 19 August 2004 7:30:13 am

Can links be made to open in a new window? I tried added the standard html code but it does not work

Ole Morten Halvorsen

Thursday 19 August 2004 8:01:38 am

Hi Jonas,

Post your current code, this will make it easier to see what your are trying to do and help you.

Example: create a normal link which popup in a new window

<a href="http://ez.no" target="_blank">ez.no</a>

Example: create a link to a node which popup in a new window

<a href={$node.url_alias|ezurl} target="_blank">{$node.name|wash}</a>

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Jonas Brown

Friday 20 August 2004 3:57:36 pm

Hi,

Perhaps I should explain a little more. I was creating links in the links module - so I tried adding the _blank code at the end of the URL to no avail

David Lowman

Saturday 21 August 2004 9:22:35 am

Have a look at this thread-

http://ez.no/community/forum/setup_design/open_link_in_a_new_window_help_needed