Changes

Jump to: navigation, search

MediaWiki:Common.js

427 bytes added, 20:01, 13 September 2016
no edit summary
];
 
 
var playstate = "auto";
caption_align = "center";
slideshow_timeout = 2000;
 
/* create random cycle value on first request but avoid 0 as
the entry is not used in final array */
 
var madacycle_array_index = gallery.length -1;
var first_madacycle_index = Math.round(madacycle_array_index * Math.random());
 
if (first_madacycle_index == 0){
first_madacycle_index = 1
}
 
cycle = first_madacycle_index;
 
speed = 8000;
if (document.location.href == "http://www.madacamp.com/MediaWiki:Common.js"){
//alert('gallery.length ' + gallery.length);//alert('gallery.length -1 ' + madacycle_array_index);//alert('cycle: ' + cycle);//alert('Math.round ' + first_madacycle_index);
//change_map;
}

Navigation menu