(Answer) (Category) Faq-O-Matic Faq-O-Matic : (Category) Administrators' Guide : (Category) Suggestions :
Have HTTP references launch a new window
I would like to see the ability to make http references launch a new window so I could keep my existing faq answer on screen. I have a subcategory full of different technical contacts and frequently list websites and the login/password to get inside them. Of course when you click on the http reference you lose the page with the login/password info. If would be nicer for my lazy self if I could specify in the http://somesite.com syntax to open a new target.
Edit OMatic.pm and at line 593 (version 2.709)

#
# this is my hack to launch a new window
#
#           $result = "<a href=\"$target\" target=\"_blank\">$label</a>";
        $result = "<a href=\"$target\">$label</a>";

This allows me to launch a new window on an http link. There are probably better solutions but like I said, this is a hack that will do the job.
[Append to This Answer]
Previous: (Answer) Patch to make 2.709 HTML-4-clean
Next: (Answer) HTML Links on invalid HTML code
This document is: http://www.jonh.net/cgi-bin/faqomatic/fom?file=772
[Search] [Appearance]
This is a Faq-O-Matic 2.718d.
Hosted by SourceForge Logo and jonh.net.