MediaWiki:Gadget-site-scrollGallery.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Raoli (discussione | contributi)
m 16 revisioni importate da de:MediaWiki:ScrollGallery.js
mNessun oggetto della modifica
Riga 3:
// license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
function addEvent(obj, eventType, aFunction, isCapture) {
// addEvent function is already defined in the TocTree extension
if (obj.addEventListener) { // W3C DOM
obj.addEventListener(eventType, aFunction, isCapture);
return true;
}
else if (obj.attachEvent) { // Internet Explorer
return obj.attachEvent("on"+eventType, aFunction);
}
else return false;
}
 
function processGalleryClickEvent(event) {