MediaWiki:Common.js : Différence entre versions
De Wiki ODR
| Ligne 5 : | Ligne 5 : | ||
$("#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; | return false; | ||
}); | }); | ||
}); | }); | ||
Version du 7 juillet 2017 à 08:40
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */
// Can also be used with $(document).ready()
$(document).ready(function() {
$("#carre_odr").click(function(){
document.getElementById("carre_odr").style.cursor = "pointer";
window.open('./Sous_portail_odr','mywindow');
return false;
});
});

