Faq-O-Matic Faq-O-Matic : Administrators' Guide : 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: | Patch to make 2.709 HTML-4-clean |
Next: | HTML Links on invalid HTML code |
|