MediaWiki: Common.js : Différence entre versions

De ECU
Aller à : navigation, rechercher
Ligne 222 : Ligne 222 :
 
$(function () {
 
$(function () {
 
   var myElement = document.getElementById('popupr19');
 
   var myElement = document.getElementById('popupr19');
   myElement.innerHTML = '<button id="button19" onclick = document.getElementById("popup19").style.top="200px"> 19</button>';
+
   myElement.innerHTML = '<button id="button19" onclick = document.getElementById("popup19").style.top="140px"> 19</button>';
 
   
 
   
 
});
 
});

Version du 20 mai 2019 à 08:41

/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */

$(function () {
  var myElement = document.getElementById('popupr');
  myElement.innerHTML = '<button id="button1" onclick = document.getElementById("popup1").style.top="200px"> 1</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup1").style.top="-300px">&times; </button>';
 
});


$(function () {
  var myElement = document.getElementById('popupr2');
  myElement.innerHTML = '<button id="button2" onclick = document.getElementById("popup2").style.top="200px"> 2</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose2');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup2").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr3');
  myElement.innerHTML = '<button id="button3" onclick = document.getElementById("popup3").style.top="200px"> 3</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose3');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup3").style.top="-1000px">&times; </button>';
 
});


$(function () {
  var myElement = document.getElementById('popupr4');
  myElement.innerHTML = '<button id="button4" onclick = document.getElementById("popup4").style.top="200px"> 4</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose4');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup4").style.top="-300px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr5');
  myElement.innerHTML = '<button id="button5" onclick = document.getElementById("popup5").style.top="200px"> 5</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose5');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup5").style.top="-300px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr6');
  myElement.innerHTML = '<button id="button6" onclick = document.getElementById("popup6").style.top="200px"> 6</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose6');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup6").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr7');
  myElement.innerHTML = '<button id="button7" onclick = document.getElementById("popup7").style.top="200px"> 7</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose7');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup7").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr8');
  myElement.innerHTML = '<button id="button8" onclick = document.getElementById("popup8").style.top="200px"> 8</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose8');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup8").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr9');
  myElement.innerHTML = '<button id="button9" onclick = document.getElementById("popup9").style.top="200px"> 9</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose9');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup9").style.top="-1000px">&times; </button>';
 
});


$(function () {
  var myElement = document.getElementById('popupr10');
  myElement.innerHTML = '<button id="button10" onclick = document.getElementById("popup10").style.top="300px"> X</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose10');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup10").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr11');
  myElement.innerHTML = '<button id="button11" onclick = document.getElementById("popup11").style.top="150px"> 11</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose11');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup11").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr12');
  myElement.innerHTML = '<button id="button12" onclick = document.getElementById("popup12").style.top="180px"> 12</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose12');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup12").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr13');
  myElement.innerHTML = '<button id="button13" onclick = document.getElementById("popup13").style.top="270px"> 13</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose13');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup13").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr14');
  myElement.innerHTML = '<button id="button14" onclick = document.getElementById("popup14").style.top="150px"> 14</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose14');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup14").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr15');
  myElement.innerHTML = '<button id="button15" onclick = document.getElementById("popup15").style.top="300px"> 15</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose15');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup15").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr16');
  myElement.innerHTML = '<button id="button16" onclick = document.getElementById("popup16").style.top="305px"> 16</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose16');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup16").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr17');
  myElement.innerHTML = '<button id="button17" onclick = document.getElementById("popup17").style.top="180px"> 17</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose17');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup17").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr18');
  myElement.innerHTML = '<button id="button18" onclick = document.getElementById("popup18").style.top="200px"> 18</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose18');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup18").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr19');
  myElement.innerHTML = '<button id="button19" onclick = document.getElementById("popup19").style.top="140px"> 19</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose19');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup19").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr20');
  myElement.innerHTML = '<button id="button20" onclick = document.getElementById("popup20").style.top="200px"> 20</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose20');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup20").style.top="-1000px">&times; </button>';
 
});

$(function () {
  var myElement = document.getElementById('popupr21');
  myElement.innerHTML = '<button id="button21" onclick = document.getElementById("popup21").style.top="200px"> 21</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose21');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup21").style.top="-1000px">&times; </button>';
 
});


$(function () {
  var myElement = document.getElementById('popupr22');
  myElement.innerHTML = '<button id="button22" onclick = document.getElementById("popup22").style.top="200px"> 22</button>';
 
});

$(function () {
  var myElement = document.getElementById('btnClose22');
  myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup22").style.top="-1000px">&times; </button>';
 
});