Difference between revisions of "MediaWiki:Chameleon.js"

From Balthazar
Line 1: Line 1:
 
console.log('Hello! :)');
 
console.log('Hello! :)');
 +
 +
galleryClick(e) {
 +
  console.log("klik",e);
 +
}
  
 
$('.gallery.selectable li a').each( function(i,e) {
 
$('.gallery.selectable li a').each( function(i,e) {
   console.log(i,e);
+
   $(e).on("click", e, galleryClick(e));
 
});
 
});

Revision as of 04:08, 22 October 2024

console.log('Hello! :)');

galleryClick(e) {
  console.log("klik",e);
}

$('.gallery.selectable li a').each( function(i,e) {
  $(e).on("click", e, galleryClick(e));
});
Nlnet banner.png NGI0 tag.png NGI0Entrust tag.png