MediaWiki: Common.js: Perbedaan antara revisi
Dari GBI Danau Bogor Raya
k upd |
k upd |
||
| Baris 12: | Baris 12: | ||
}); | }); | ||
/* | |||
$('button').click(function(){ //you can give id or class name here for $('button') | $('button').click(function(){ //you can give id or class name here for $('button') | ||
$(this).text(function(i,old){ | $(this).text(function(i,old){ | ||
| Baris 17: | Baris 18: | ||
}); | }); | ||
}); | }); | ||
*/ | |||
Revisi per 28 Oktober 2022 12.45
/* JavaScript yang ada di sini akan diterapkan untuk semua kulit. */
/* Code dari MediaWiki:Common.js sebagian besar dipindahkan ke MediaWiki_Talk:Common.js sejak 11 Oktober 2022 */
$(document).ready(function() {
$('.carousel').carousel()
});
$(document).ready(function() {
$('#myCarousel').carousel()
});
/*
$('button').click(function(){ //you can give id or class name here for $('button')
$(this).text(function(i,old){
return old=='+' ? '-' : '+';
});
});
*/