Difference between revisions of "Widget:ImageCarousel"

From Hackerspace ACKspace
Jump to: navigation, search
m (reversed array, fixed minor bug)
m (running images!)
Line 121: Line 121:
 
}
 
}
  
setTimeout( plusSlides.bind( this, 1 ), 5000);
+
setInterval( plusSlides.bind( this, 1 ), 5000);
  
 
// Expose functions
 
// Expose functions

Revision as of 11:59, 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.