MediaWiki: Common.js
De ECU
Révision datée du 17 juin 2019 à 09:24 par Root (discussion | contributions)
Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac)
- Google Chrome : appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac)
- Internet Explorer : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5
- Opera : allez dans Menu → Settings (Opera → Préférences sur un Mac) et ensuite à Confidentialité & sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */ $(function () { var myElement = document.getElementById('print'); myElement.innerHTML = '<button id="buttonprint" onclick = window.print()>Imprimer</button>'; }); $(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="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr2'); myElement.innerHTML = '<button id="button2" onclick = document.getElementById("popup2").style.top="178px"> 2</button>'; }); $(function () { var myElement = document.getElementById('btnClose2'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup2").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr3'); myElement.innerHTML = '<button id="button3" onclick = document.getElementById("popup3").style.top="130px"> 3</button>'; }); $(function () { var myElement = document.getElementById('btnClose3'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup3").style.top="-1000px">× </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="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr5'); myElement.innerHTML = '<button id="button5" onclick = document.getElementById("popup5").style.top="340px"> 5</button>'; }); $(function () { var myElement = document.getElementById('btnClose5'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup5").style.top="-300px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr6'); myElement.innerHTML = '<button id="button6" onclick = document.getElementById("popup6").style.top="380px"> 6</button>'; }); $(function () { var myElement = document.getElementById('btnClose6'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup6").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr61'); myElement.innerHTML = '<button id="button61" onclick = document.getElementById("popup61").style.top="265px"> 61</button>'; }); $(function () { var myElement = document.getElementById('btnClose61'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup61").style.top="-1000px">× </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">× </button>'; }); $(function () { var myElement = document.getElementById('popupr71'); myElement.innerHTML = '<button id="button71" onclick = document.getElementById("popup71").style.top="200px"> 71</button>'; }); $(function () { var myElement = document.getElementById('btnClose71'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup71").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr8'); myElement.innerHTML = '<button id="button8" onclick = document.getElementById("popup8").style.top="250px"> 8</button>'; }); $(function () { var myElement = document.getElementById('btnClose8'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup8").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr9'); myElement.innerHTML = '<button id="button9" onclick = document.getElementById("popup9").style.top="330px"> 9</button>'; }); $(function () { var myElement = document.getElementById('btnClose9'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup9").style.top="-1000px">× </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">× </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">× </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">× </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">× </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">× </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">× </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">× </button>'; }); $(function () { var myElement = document.getElementById('popupr161'); myElement.innerHTML = '<button id="button161" onclick = document.getElementById("popup161").style.top="205px"> 161</button>'; }); $(function () { var myElement = document.getElementById('btnClose161'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup161").style.top="-1000px">× </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">× </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">× </button>'; }); $(function () { var myElement = document.getElementById('popupr19'); myElement.innerHTML = '<button id="button19" onclick = document.getElementById("popup19").style.top="340px"> 19</button>'; }); $(function () { var myElement = document.getElementById('btnClose19'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup19").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr20'); myElement.innerHTML = '<button id="button20" onclick = document.getElementById("popup20").style.top="330px"> 20</button>'; }); $(function () { var myElement = document.getElementById('btnClose20'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup20").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr21'); myElement.innerHTML = '<button id="button21" onclick = document.getElementById("popup21").style.top="305px"> 21</button>'; }); $(function () { var myElement = document.getElementById('btnClose21'); myElement.innerHTML = '<button id="btnClose" onclick=document.getElementById("popup21").style.top="-1000px">× </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">× </button>'; }); $(function () { var myElement = document.getElementById('popupr23'); myElement.innerHTML = '<button id="button23" onclick = document.getElementById("popup23").style.top="500px"> INFORMATION</button>'; }); $(function () { var myElement = document.getElementById('btnClose23'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup23").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr24'); myElement.innerHTML = '<button id="button24" onclick = document.getElementById("popup24").style.top="650px"> CONSULTATION</button>'; }); $(function () { var myElement = document.getElementById('btnClose24'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup24").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr25'); myElement.innerHTML = '<button id="button25" onclick = document.getElementById("popup25").style.top="500px"> CONCERTATION</button>'; }); $(function () { var myElement = document.getElementById('btnClose25'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup25").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr26'); myElement.innerHTML = '<button id="button26" onclick = document.getElementById("popup26").style.top="150px"> CO-PRODUCTION</button>'; }); $(function () { var myElement = document.getElementById('btnClose26'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup26").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr35'); myElement.innerHTML = '<button id="button35" onclick = document.getElementById("popup35").style.top="420px"> EAU</button>'; }); $(function () { var myElement = document.getElementById('btnClose35'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup35").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr36'); myElement.innerHTML = '<button id="button36" onclick = document.getElementById("popup36").style.top="605px"> SOLS</button>'; }); $(function () { var myElement = document.getElementById('btnClose36'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup36").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr37'); myElement.innerHTML = '<button id="button37" onclick = document.getElementById("popup37").style.top="420px"> EXPOSITION</button>'; }); $(function () { var myElement = document.getElementById('btnClose37'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup37").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr38'); myElement.innerHTML = '<button id="button38" onclick = document.getElementById("popup38").style.top="647px"> HISTOIRE</button>'; }); $(function () { var myElement = document.getElementById('btnClose38'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup38").style.top="-1000px">× </button>'; }); $(function () { var myElement = document.getElementById('popupr39'); myElement.innerHTML = '<button id="button39" onclick = document.getElementById("popup39").style.top="420px"> DIVERS</button>'; }); $(function () { var myElement = document.getElementById('btnClose39'); myElement.innerHTML = '<button id="btnClose1" onclick=document.getElementById("popup39").style.top="-1000px">× </button>'; });