MediaWiki:Common.js : Différence entre versions
De Wiki ODR
| Ligne 7 : | Ligne 7 : | ||
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é démarches qualité*/ | ||
| + | $(document).ready(function() { | ||
| + | $("#carre-demarches").click(function(){ | ||
| + | document.getElementById("carre-demarches").style.cursor="pointer"; | ||
| + | window.open('./Sous-portail-qualite','mywindow'); | ||
return false; | return false; | ||
}); | }); | ||
Version du 16 août 2017 à 16:01
/* 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é démarches qualité*/
$(document).ready(function() {
$("#carre-demarches").click(function(){
document.getElementById("carre-demarches").style.cursor="pointer";
window.open('./Sous-portail-qualite','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;
});
});
/******** Sous-portail ********/
/*Dernier article*/
$(document).ready(function() {
$("#carre_derarticle1").click(function(){
document.getElementById("carre_derarticle1").style.border="none" ;
window.open('./Utilisateur','mywindow');
return false;
});
});
$(document).ready(function() {
$("#carre_derarticle2").click(function(){
document.getElementById("carre_derarticle2").style.border="none" ;
window.open('./Dossier_thématique','mywindow');
return false;
});
});

