plugin:s5
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:s5 [2015-04-09 15:33] – [Download and Install] 193.246.68.29 | plugin:s5 [2023-01-10 18:44] (current) – version upped andi | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : render | type : render | ||
- | lastupdate : 2014-09-22 | + | lastupdate : 2022-11-30 |
compatible : Adora Belle, binky, ponder stibbons, hrun | compatible : Adora Belle, binky, ponder stibbons, hrun | ||
depends | depends | ||
Line 26: | Line 26: | ||
Use the download link given above to download or install the plugin through the plugin manager. | Use the download link given above to download or install the plugin through the plugin manager. | ||
- | |||
- | Test_Test_Test | ||
- | |||
==== Changes ==== | ==== Changes ==== | ||
Line 81: | Line 78: | ||
* Is there a way to manually create a new page (with a new H2 headline) or automatically split content in multiple slides (for instance two pages : "H2 Headline (1/2)" and "H2 Headline (2/ | * Is there a way to manually create a new page (with a new H2 headline) or automatically split content in multiple slides (for instance two pages : "H2 Headline (1/2)" and "H2 Headline (2/ | ||
*Another solution would be an option to use H3 headline for new slides. | *Another solution would be an option to use H3 headline for new slides. | ||
+ | * You can try this patch : < | ||
+ | --- s5/ | ||
+ | +++ s5/ | ||
+ | @@ -1,4 +1,5 @@ | ||
+ | <? | ||
+ | |||
+ | | ||
+ | +$conf[' | ||
+ | |||
+ | --- s5/ | ||
+ | +++ s5/ | ||
+ | @@ -18,6 +18,7 @@ | ||
+ | var $slideopen = false; | ||
+ | var $base=''; | ||
+ | var $tpl=''; | ||
+ | + var $lastH2=''; | ||
+ | |||
+ | /** | ||
+ | * the format we produce | ||
+ | @@ -121,7 +122,7 @@ | ||
+ | /** | ||
+ | * This is what creates new slides | ||
+ | * | ||
+ | - * A new slide is started for each H2 header | ||
+ | + * A new slide is started for each Hx header, where x <= configuration parameter " | ||
+ | */ | ||
+ | | ||
+ | | ||
+ | @@ -133,12 +134,19 @@ | ||
+ | } | ||
+ | } | ||
+ | |||
+ | - if($level == 2){ | ||
+ | + if($level <= $this-> | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | + | ||
+ | + if ($level == 2) { | ||
+ | + $this-> | ||
+ | + } else { | ||
+ | + $level = 2; | ||
+ | + $text = $this-> | ||
+ | + } | ||
+ | } | ||
+ | | ||
+ | | ||
+ | @@ -149,7 +157,7 @@ | ||
+ | * Top-Level Sections are slides | ||
+ | */ | ||
+ | | ||
+ | - if($level < 3){ | ||
+ | + if($level <= $this-> | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
* There is a colision with the html5 plugin. When it is on, the button for starting is not visible. | * There is a colision with the html5 plugin. When it is on, the button for starting is not visible. | ||
* Is there a way to end the slideshow and get back to the page? | * Is there a way to end the slideshow and get back to the page? | ||
* -> there is: hit " | * -> there is: hit " | ||
+ | |||
+ | ==== Any chance to have < | ||
+ | |||
+ | Due to http:// | ||
+ | |||
+ | Is there a way to have this for the s5 plugin? | ||
+ | |||
+ | --- [[user> |
plugin/s5.1428586392.txt.gz · Last modified: 2015-04-09 15:33 by 193.246.68.29