MediaWiki:Common.js/Slideshows.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: $.fn.slideshow = ( function() { return this.each( function() { var $ss = $(this), $sl = $ss.children( '.slide' ), $actions; if ( $sl.length < 2 ) { return; } $sl.slice(1).hide(); $actions = $('<div class="slide-actions"><span class="slide-prev"></span><span class="slide-next"></span></div>'); $ss.data( 'slides', { 'at': 0, 'total': $sl.length }).append( $actions ).click( functio...")
 
No edit summary
 
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
$.fn.slideshow = ( function() {
$.fn.slideshow = ( function() {
return this.each( function() {
return this.each( function() {

Navigation menu