• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..Today-

conf/H18-Jun-2020-114

images/H18-Jun-2020-235233

lang/en/H18-Jun-2020-72

syntax/H18-Jun-2020-253176

README.mdH A D17-Jun-20201.2 KiB3424

action.phpH A D17-Jun-20204.7 KiB13496

helper.phpH A D17-Jun-2020999 3520

plugin.info.txtH A D17-Jun-2020221 107

script.jsH A D17-Jun-202026.7 KiB734513

style.cssH A D17-Jun-20202.1 KiB11894

README.md

1#DokuWiki PopUpViewer
2
3A DokuWiki plugin that allows for simple popups of images or even pages from the wiki.
4
5##Syntax
6
7```
8{{popup>%IMAGE/PAGE%?[%SIZE%]&[keepOpen]|[%TEXT/IMAGE%]}}
9Note: [?%SIZE%] and [%TEXT/IMAGE%] are optional parameters.
10```
11
12 Option | Description
13 :----- | :----------
14```%IMAGE/PAGE%``` | an image or a page as you know it from DokuWiki
15```%SIZE%``` (optional) | Width and height (optional) in px. Example: 200×300
16```keepOpen``` (optional) | All links in a page opened via a popup will also open in a popup.
17```%TEXT/IMAGE%``` (optional) |  Here you can set the name or an additional image. This will be displayed to the user as link to click on for the popup
18
19__Hints__:
20
21 * ```?``` is required when using either ```%SIZE%```or ```keepOpen```
22 * ```&```is required in between when using both options.
23 * ```keepOpen``` only has an effect when using a page id, never with an image.
24
25##Extra JavaScript for loaded pages
26
27You can add JavaScript that is being executed for pages that load in a popup. The script has to be placed in the page to load. it will not get executed anywhere else. You have to enable this.
28
29```
30<popupscript>
31/* JavaScript */
32</popupscript>
33```
34