[Pmwiki-users] linked URLs open in new separate browser-window

Patrick R. Michaud pmichaud
Sat Jul 10 07:50:34 CDT 2004


On Sat, Jul 10, 2004 at 11:13:14AM +0000, Markus wrote:
> i am interested in to open all the external URLs (f.ex. http:/www.domain.com) at
> a pmwiki page in a seperate browser window.
> Where i can include the html-code to have the right a-href-target. 

$UrlLinkFmt = "<a class='urllink' target='_blank' href='\$Url'>\$LinkText</a>";

will cause all external URL links to open in a separate browser window.

Now posted in the cookbook at
http://www.pmwiki.org/wiki/Cookbook/ExternalLinksInNewWindow

Pm



More information about the pmwiki-users mailing list