plugin:spoiler
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:spoiler [2014-05-18 20:18] – [Problems] 217.150.76.19 | plugin:spoiler [2023-10-30 22:59] (current) – Klap-in | ||
---|---|---|---|
Line 7: | Line 7: | ||
type : syntax | type : syntax | ||
lastupdate : 2007-07-19 | lastupdate : 2007-07-19 | ||
- | compatible : 2007-06-26+, | + | compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, !Hogfather |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
tags : hide | tags : hide | ||
- | downloadurl: | + | downloadurl: |
---- | ---- | ||
Line 30: | Line 31: | ||
You can make a button for this code with [[doku> | You can make a button for this code with [[doku> | ||
- | See [[http://wiki.fealdia.org/ | + | See [[https://wiki.hokkanen.org/ |
===== Discussion ===== | ===== Discussion ===== | ||
- | I'd like to see it work within a list: | + | **Patch to work with 2020-07-29 " |
+ | in '' | ||
+ | function handle($match, | ||
+ | function render($mode, | ||
+ | to | ||
+ | function handle($match, | ||
+ | function render($mode, | ||
+ | |||
+ | -- halbbit // | ||
+ | ---- | ||
+ | |||
+ | **I'd like to see it work within a list** | ||
<code dokuwiki> | <code dokuwiki> | ||
* < | * < | ||
Line 68: | Line 80: | ||
Here are the code changes to '' | Here are the code changes to '' | ||
- | < | + | < |
*** ./style.css Wed Jul 18 14:14:43 2007 | *** ./style.css Wed Jul 18 14:14:43 2007 | ||
--- ./ | --- ./ | ||
Line 99: | Line 111: | ||
+ } | + } | ||
</ | </ | ||
- | < | + | < |
*** ./ | *** ./ | ||
--- ./ | --- ./ | ||
Line 209: | Line 221: | ||
Also, add the file '' | Also, add the file '' | ||
- | < | + | < |
function spoilerControl(state) { | function spoilerControl(state) { | ||
var el = document.getElementsByTagName(' | var el = document.getElementsByTagName(' | ||
Line 226: | Line 238: | ||
This extra file hides away any ' | This extra file hides away any ' | ||
- | < | + | < |
div.dokuwiki .spoiler { | div.dokuwiki .spoiler { | ||
visibility: hidden; | visibility: hidden; | ||
Line 247: | Line 259: | ||
* Put string '' | * Put string '' | ||
'' | '' | ||
+ | * Spoiler can't hold '' | ||
+ | * No spacing after first paragraph in spoiler, cause it come without '< |
plugin/spoiler.1400437082.txt.gz · Last modified: 2014-05-18 20:18 by 217.150.76.19