DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:slider

slider Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin Add a slider element to any DokuWiki page

Last updated on
2020-07-08
Provides
Syntax
Repository
Source

Tagged with carousel, slider

This plugin adds a Slider element using the bxSlider jQuery Plugin.

Installation

A CosmoCode Plugin

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Changes

Syntax

Slides need to start with a <slider> element which may contain an image (internal or external) as background for the slide. Inside the slide any other DokuWiki syntax can be put, this will be shown as an overlay over the background image. The last slide has to be finished with a </slider> element.

Simple Image only slider with internal and external images:

<slider some:internal:image.jpg>
<slider anotherlocalimage.jpg>
<slider http://example.com/externalimage.jpg>
</slider>

Slider with mixed content

<slider some:internal:image.jpg>
===== A Headline =====

And some other stuff

<slider>

This one has no background image at all.

<slider http://example.com/externalimage.jpg>
</slider>

Configuration and Settings

The size of background images can be set in the config manager. Images will be automatically scaled to match the full width of the page by the browser. The given size controls image quality vs. download size.

Discussion

  • Have you tested this plugin recently? It does not work in Detritus! Please check and update — atronoush 2015-10-02 19:58
The plugin works fine in Detritus so please check your settings first. — Laynee 2016-03-14
  • Would be nice to be able to link slider images as a whole instead of the overlaying content. Even better, to support full DokuWiki image links syntax inside the <slider> elements.

in rtl lang like arabic

  • It does not work in selfthinker! Please check and update —

?

plugin/slider.txt · Last modified: 2024-07-15 12:27 by johng

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki