MediaWiki:ToggleBox.js

Èn årtike di Wiccionaire.

Note : après aveur schapé l’ pådje, vos l’ divoz rafrister, po pleur vey les candjmints dins vosse betchteu waibe.

  • Firefox / Safari : tchôkîz so Shift tot clitchant so Rafrister, ou co fjhoz Ctrl-F5 ou Ctrl-R (⌘-R so on Mac)
  • Google Chrome : tchôkîz so Ctrl-Shift-R (⌘-Shift-R so on Mac)
  • Internet Explorer / Edje : tchôkîz so Ctrl tot clitchant so Rafrister, ou co fjhoz Ctrl-F5
  • Konqueror : clitchîz so Rafrister ou tchôkîz so F5
  • Opera : alez dins Menu → Parametes (Opera → Preferinces so on Mac), pus dins Confidance et såvrité → Vudîz les dnêyes d’ vizitaedje → Imådjes et fitchîs metous el muchete.
/**
 * Moster u bén catchî les boesses di ratournaedjes, evnd
 * tcherdjî dispu [[MediaWiki:Common.js]]
 * vey eto [[MediaWiki:Common.css]]
 */
$(function() {
	$('.TBox-title').attr('title', 'Clitchîz po håyner u muchî çou ki gn a dins cisse boesse ci');
	$('.TBox').find('.TBox-title + .TBox-content').hide();
	
	$('.TBox-title').click(function(){
		var tbc = $(this).parent().find('.TBox-content');
		if(tbc.is(':hidden')){
			$(this).parent().addClass('TBox-open');
			$(this).parent().removeClass('TBox');
		}else{
			$(this).parent().addClass('TBox');
			$(this).parent().removeClass('TBox-open');
		}
		tbc.toggle();
	});
});