On Wed, Jun 08, 2005 at 06:55:29PM +0000, Mark Lilly wrote:
2. for some of my external links, i want to open a new
browser. In HTML:
<a href="example.com" target="_blank">Click Here</a>
There's no support for this unless you hack it in. We hate it. :D
OK, here's a hack; i changed the makeExternalLink() function in Skin.php and it
seems to work fine; here it is in case anyone wants it. I added the keyword
_BLANK to my world. That anywhere after the URL in an external link, and voila,
target="_BLANK" and the link opens in a new browser window. tested on IE6.
should work everywhere.
Hello Mark,
Thanks for the patch... works well and it would be great if this was
included in future versions as standard.
Regards
James
--
The UK government wants to force a compulsory Identity Card Scheme.
Find out why this is a Bad Thing at
http://www.no2id.com and say "no"