Contents
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
<<Close([link text])>>
Download & Release Notes
Download |
Release Version |
Moin Version |
Release Notes |
|
1.9.2, 1.9.8 |
|
Examples
<<Close()>> <<Close(Exit)>>
Close |
Copyright
@copyright: 2010 Ian Riley <ian@riley.asia>
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
402