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

..02-Dec-2021-

COPYINGH A D06-Aug-201617.7 KiB340281

README.mdH A D06-Aug-20161 KiB2215

schema.jsonH A D06-Aug-2016661 2120

script.jsH A D06-Aug-2016589 2416

style.cssH A D06-Aug-20161.7 KiB6357

README.md

1##jWHelloWorld##
2This is a simple implementation of a [JokuWiki](https://github.com/symcbean/jokuwiki) plugin.
3
4Note that unlike other Dokuwiki plugin, *no php code is required*. The Javascript is invoked via the jokuwiki framework. To use in a Dokuwiki page, just install the plugin (and jokuwiki) then add the following markup to your page:
5
6```
7<jw name='jwHelloWorld'
8      id='greetingDiv' style='width:100px;height=40px' noscript='Javascript is disabled'
9      data='{ "say" : "Hello World" , "speaker" : "SyMcBean" }'
10  ></jw>
11```
12
13The code adds Javascript and CSS to render callouts on the page as speech bubbles.
14
15The `say` element is required and appears inside the speech bubble. The `speaker` is optional and appears under the bubble.
16
17This requires Dokuwiki with the Jokuwiki plugin to run. The Jokuwiki plugin
18is available from the same site where you got this code.
19
20Note that Dokuwiki automatically merges CSS and Javascript - so adding lots
21of Jokuwiki plugins will have minimal impact opn your page performance.
22