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]|[%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```%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 17 18##Extra JavaScript for loaded pages 19 20You 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. 21 22``` 23<popupscript> 24/* JavaScript */ 25</popupscript> 26``` 27