Difference between revisions of "MediaWiki:Chameleon.js"
From Balthazar
Line 8: | Line 8: | ||
console.log(i,e); | console.log(i,e); | ||
$(e).removeAttr('src'); | $(e).removeAttr('src'); | ||
− | $(e). | + | $(e).click(galleryClick(e)); |
}); | }); |
Revision as of 04:12, 22 October 2024
console.log('Hello! :)'); galleryClick(e) { console.log("klik",e); } $('.gallery.selectable li a').each( function(i,e) { console.log(i,e); $(e).removeAttr('src'); $(e).click(galleryClick(e)); });