MediaWiki:Gadget-PopupAudio.js
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.
$( "sup.odio a" ).click(function(){
$("#popodioafe").remove();
var popodioafe = $("<div>").attr("id", "popodioafe");
var popbarafe = $("<div>").attr("id", "popbarafe");
var popbarafex = $("<span>")
.attr("id", "popbarafex")
.text("🗙")
.click(function(){
$(popodioafe).remove();
});
var popbarafeinfo = $("<a>")
.attr('href', "//wa.wiktionary.org/wiki/File:" + $(this).attr("title"))
.text('Infos sol fitchî')
.attr('target', '_blank');
var odioafe = $('<audio>')
.attr('controls', true)
.attr('autoplay', true)
.attr('src', $(this).attr('href') );
$(popbarafe).append(popbarafeinfo).append(popbarafex);
$(popodioafe).append(popbarafe).append(odioafe);
$(this).parent().after(popodioafe);
return false;
});