Difference between revisions of "Widget:ImageCarousel"

From Hackerspace ACKspace
Jump to: navigation, search
m (exposed functions)
m (added class for triggering correct box model)
Line 45: Line 45:
  
 
<!-- The dots/circles -->
 
<!-- The dots/circles -->
<div style="text-align:center">
+
<div class="dots" style="text-align:center">
 
   <span class="dot" onclick="currentSlide(1)"></span>  
 
   <span class="dot" onclick="currentSlide(1)"></span>  
 
   <span class="dot" onclick="currentSlide(2)"></span>  
 
   <span class="dot" onclick="currentSlide(2)"></span>  

Revision as of 10:54, 19 March 2019

This widget allows you to display an image carousel on your wiki page.

Created by xopr, inspired by W3schools example

Using this widget

To insert this widget, use the following code:

{{#widget:ImageCarousel
}}

Note:

  • this is a work in progress

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:ImageCarousel article.