#format wiki #language en #pragma section-numbers off #acl IanRiley:read,write,delete,revert,admin All:read #pragma supplementation-page on <> = Close = == Background and rationale == Moin allows internal linking with the parameter target="_blank. {{{[[SomePage||target="_blank"]]}}} This forces the browser to open the target in a new tab or window, which is convenient if you don't want the user to loose their position in the calling window. However, if this is forced by target="_blank", the user should be given an obvious way to close the new tab or window. == Description == The Close macro inserts a link to make a Java close request. By default it inserts 'Close' as the link label, with the parameter set to provides alternative text. No wiki markup is processed. == Usage == {{{ <> }}} == Download & Release Notes == || Download || Release Version || Moin Version || Release Notes || || [[attachment:Close.py]] || || 1.9.2, 1.9.8 || || == Examples == {{{ <> <> }}} ||Close<
><
>Exit|| == Copyright == . @copyright: 2010 Ian Riley == License == GNU GPL, see COPYING for details. == Known issues and limitations == * The close link is still included when the tab/window was opened without a target="_blank" parameter, but will cause no action. ----- Hits:: <>