MediaWiki:Common.js : Différence entre versions
De Wiki ODR
(Page créée avec « →Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. : jQuery(document).ready(function ($) { $('#checkbox').change(functio... ») |
|||
| (33 révisions intermédiaires par un autre utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */ | /* 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é politiques de dev rural*/ | |
| − | + | $(document).ready(function() { | |
| − | + | $("#carre7").click(function(){ | |
| − | + | document.getElementById("carre7").style.cursor="pointer"; | |
| − | + | window.open('./Sous_portail_politique_dev','mywindow'); | |
| − | + | return false; | |
| − | + | }); | |
| − | + | }); | |
| − | + | /*Carré suivi des données*/ | |
| − | + | $(document).ready(function() { | |
| − | + | $("#carre-suivi").click(function(){ | |
| − | + | document.getElementById("carre-suivi").style.cursor="pointer"; | |
| − | + | window.open('./Sous_portail_suivi','mywindow'); | |
| − | + | return false; | |
| − | + | }); | |
| − | + | }); | |
| − | + | /*Carré Environnement*/ | |
| − | + | $(document).ready(function() { | |
| − | + | $("#carre10").click(function(){ | |
| + | document.getElementById("carre10").style.cursor="pointer"; | ||
| + | window.open('./Sous_portail_environnement','mywindow'); | ||
| + | return false; | ||
| + | }); | ||
| + | }); | ||
| − | + | /*Carré données etc*/ | |
| − | + | $(document).ready(function() { | |
| − | + | $("#donnees-spatiales").click(function(){ | |
| + | document.getElementById("donnees-spatiales").style.cursor="pointer"; | ||
| + | window.open('./Sous_portail_donnees','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; | ||
| + | }); | ||
}); | }); | ||
Version actuelle datée du 29 septembre 2017 à 10:22
/* 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é politiques de dev rural*/
$(document).ready(function() {
$("#carre7").click(function(){
document.getElementById("carre7").style.cursor="pointer";
window.open('./Sous_portail_politique_dev','mywindow');
return false;
});
});
/*Carré suivi des données*/
$(document).ready(function() {
$("#carre-suivi").click(function(){
document.getElementById("carre-suivi").style.cursor="pointer";
window.open('./Sous_portail_suivi','mywindow');
return false;
});
});
/*Carré Environnement*/
$(document).ready(function() {
$("#carre10").click(function(){
document.getElementById("carre10").style.cursor="pointer";
window.open('./Sous_portail_environnement','mywindow');
return false;
});
});
/*Carré données etc*/
$(document).ready(function() {
$("#donnees-spatiales").click(function(){
document.getElementById("donnees-spatiales").style.cursor="pointer";
window.open('./Sous_portail_donnees','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;
});
});

