MediaWiki:Common.js : Différence entre versions
De Wiki ODR
| Ligne 2 : | Ligne 2 : | ||
// Can also be used with $(document).ready() | // Can also be used with $(document).ready() | ||
| + | /*Carré ODR*/ | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$("#carre_odr").click(function(){ | $("#carre_odr").click(function(){ | ||
document.getElementById("carre_odr").style.cursor = "pointer"; | document.getElementById("carre_odr").style.cursor = "pointer"; | ||
window.open('./Sous_portail_odr','mywindow'); | window.open('./Sous_portail_odr','mywindow'); | ||
| + | return false; | ||
| + | }); | ||
| + | }); | ||
| + | |||
| + | /*Carré FEADER*/ | ||
| + | $(document).ready(function() { | ||
| + | $("#carre_feader").click(function(){ | ||
| + | document.getElementById("carre_feader").style.cursor = "pointer"; | ||
| + | window.open('http://www.europe-en-france.gouv.fr/','mywindow'); | ||
return false; | return false; | ||
}); | }); | ||
}); | }); | ||
Version du 7 juillet 2017 à 09:34
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */
// Can also be used with $(document).ready()
/*Carré ODR*/
$(document).ready(function() {
$("#carre_odr").click(function(){
document.getElementById("carre_odr").style.cursor = "pointer";
window.open('./Sous_portail_odr','mywindow');
return false;
});
});
/*Carré FEADER*/
$(document).ready(function() {
$("#carre_feader").click(function(){
document.getElementById("carre_feader").style.cursor = "pointer";
window.open('http://www.europe-en-france.gouv.fr/','mywindow');
return false;
});
});

