/trunk/sites/accueil/generique/polices/hll.eot |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/sites/accueil/generique/polices/hll.eot |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/sites/accueil/generique/polices/hll.ttf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/sites/accueil/generique/polices/hll.ttf |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/sites/accueil/generique/polices/OptimaLTStd-DemiBold.ttf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/sites/accueil/generique/polices/OptimaLTStd-DemiBold.ttf |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/sites/accueil/generique/polices/optima.eot |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/sites/accueil/generique/polices/optima.eot |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/sites/accueil/generique/styles/accueilv5.css |
---|
New file |
0,0 → 1,178 |
/*Général */ |
body {behavior:url(/sites/accueil/generique/scripts/csshover3.htc)} |
/*Définition des polices exotiques.*/ |
@font-face { font-family: optima; src: url('../polices/OptimaLTStd-DemiBold.ttf'); } |
@font-face { font-family:Helveticaneue; src:url('../polices/hll.ttf'); } |
@font-face { font-family: optima2; src: url('../polices/optima.eot'); } |
@font-face { font-family:Helveticaneue2; src:url('../polices/hll.eot'); } |
/* Arrondis */ |
.arrondi30 { -moz-border-radius: 30px; -webkit-border-radius: 30px; border-radius: 30px;} |
/* Ombré */ |
.ombre { -moz-box-shadow: 2px 2px 9px #6c6865; -webkit-box-shadow: 2px 2px 9px #6c6865; box-shadow: 2px 2px 9px #6c6865; |
filter:progid:DXImageTransform.Microsoft.Shadow(color='#6c6865', Direction=135, Strength=4); /* pour ie8 */} |
/* Marges */ |
img,ul,form,li,td,div,p,br,a,h1,h2,body { margin:0; padding:0; border:0; text-decoration:none; } |
/* Classes & couleurs */ |
.nodisplay {display:none} |
p { color:#3a3633; font-family:arial; font-size:12px; font-weight:normal; line-height:16px; } |
p.connectgris { color:#5e5852; font-family:arial; font-size:11px; font-weight:normal; text-align:left; line-height:12px; } |
p.connectvert { color:#7b9c35; font-family:arial; font-size:11px; font-weight:normal; text-align:left; margin-top:10px;} |
p.orange { color:#fd8c13; font-family:arial; font-size:11px; font-weight:normal; text-align:left; margin:7px 0 3px 0;} |
p.accueil { color:#3a3633; font-family:arial; font-size:13px; text-align:justify; font-weight:normal; line-height:16px; } |
.overflow-hidden { overflow:hidden;} |
.gris{ color:#3a3633; font-family:arial; font-size:12px; } |
.vert, p.vert a, p.vert { color:#7b9c35; font-family:arial; font-size:12px; } |
.grisclair {color:#f2f2f2} |
.grisfonce {color:#5c5950} |
/*Zones*/ |
body { margin-top:8px; background-color:white; } |
#zone-principale { position: absolute; width:900px; margin:30px 0 0 -450px; left: 50%;} |
/* Menu haut */ |
#zone-menu-haut { width:745px; height:12px; text-align:center; margin: 0 auto 0 90px; position:absolute; top:-30px; color:#3a3633; |
font-family:arial; font-size:12px;} |
#zone-menu-haut ul { list-style:none; } |
#zone-menu-haut ul li {background:url(../images/petitCarre.jpg) no-repeat 3px 5px;float:left} |
#don { width:110px; margin:0} |
#lettre { width:120px; margin:0} |
#inscrits { width:110px; margin:0} |
#connectes { width:115px; margin:0} |
#recherche { width:185px; padding-left:15px; text-align:left; margin:0} |
#recherche fieldset {width:185px; padding:0; border-style:none;} |
#recherche input { height:13px; width:155px; font-size:12px; margin:-15px 0 0 -2px; } |
.drapeau { width:15px; margin-left:10px} |
#zone-menu-haut a:link, #zone-menu-haut a:visited, #zone-menu-haut a :active { color:#7b9c35; } |
#zone-menu-haut a:hover, #zone-menu-haut a:focus { color:#fd8c13; } |
#zone-menu-haut a { font-family:arial; font-size:12px; } |
/* Titre */ |
#zone-titre {padding:0px 0 25px 23px; margin:0 0 5px 0;} |
#zone-titre h1 {position:absolute; top:15px; left:155px; font-family:Optima; font-size:32px; letter-spacing:0px; color:#348237;} |
#zone-titre h2 {position:absolute; top:50px; left:146px; font-family:optima; font-size:19px; text-align:right; |
letter-spacing:0px ; color:#ff8c0d; line-height:24px;width:386px;} |
#zone-titre h2 b {font-size:32px; font-weight:normal} |
/* Bandeaux */ |
/*Général : texte & mots clefs*/ |
.motsclefs { float:left; width:295px; height:105px; font-family:Helveticaneue; letter-spacing:-1px; font-weight:lighter; text-align:left; |
background:url(../images/carres.png) no-repeat 106px 0px; padding:0 0 0 146px; margin:0; cursor:pointer; } |
.motsclefs h2 { position:absolute; margin-top:13px; font-size:52px; font-weight:normal; color:#5c5950; left:170px; line-height:35px;} |
.motsclefs h2:hover { color:white; } |
.motsclefs h3 { text-align:left; color:#f2f2f2; margin-left:111px; margin-top:69px} |
.motsclefs span{position:absolute; font-weight:normal;text-transform:lowercase} |
.texteRectangle {padding:8px 25px 0 0px;height:75px;} |
#zone-botanique {background: url(../images/imageAccueilCarres.jpg) no-repeat #9ac343; height:105px; width:900px; margin:0 0 15px 5px;} |
/* Mots clefs Botanique */ |
#zone-botanique .motsclefs .mot1 { font-size:32px; margin:-22px 0 0 -101px;} |
#zone-botanique .motsclefs .mot2 { font-size:18px; margin:-15px 0 0 74px; } |
#zone-botanique .motsclefs .mot3 { font-size:23px; margin:5px 0 0 -46px; } |
#zone-actualites {background: url(../images/imageAccueilCarres.jpg) no-repeat 0px -211px #c2c0ad; height:105px; width:900px; margin:0 0 15px 5px;} |
/* Mots clefs Actualités */ |
#zone-actualites .motsclefs .mot1 { font-size:28px; margin:-20px 0 0 -81px; } |
#zone-actualites .motsclefs .mot2 { font-size:32px; margin:-10px 0 0 14px; } |
#zone-actualites .motsclefs .mot3 { margin:10px 0 0 -101px;} |
#zone-reseau {background: url(../images/imageAccueilCarres.jpg) no-repeat 0 -316px #e16039; height:105px; width:900px; margin:0 0 15px 5px;} |
/* Mots clefs Réseau */ |
#zone-reseau .motsclefs .mot1 { font-size:32px; margin:-25px 0 0 -102px; } |
#zone-reseau .motsclefs .mot2 { font-size:26px; margin:0px 0 0 -81px; } |
#zone-reseau .motsclefs .mot3 { font-size:20px; margin:3px 0 0 39px; } |
#zone-projets {background: url(../images/imageAccueilCarres.jpg) no-repeat 0 -105px #a89d80; height:105px; width:900px; margin:0 0 15px 5px;} |
/* Mots clefs Projets */ |
#zone-projets .motsclefs .mot1 { font-size:32px; margin:-22px 0 0 -36px; } |
#zone-projets .motsclefs .mot2 { font-size:20px; margin:5px 0 0 -71px; } |
#zone-projets .motsclefs .mot3 { font-size:20px; margin:5px 0 0 44px; } |
/* Liens des univers */ |
.menuRectangle { position:absolute; width:100%; margin-top:0px; text-align:right} |
.menuRectangle ul { text-align:right; position:absolute; right:25px} |
.menuRectangle ul li { text-decoration:none; text-align:center; font-size: 12px; font-family:arial; float:left; margin-left:10px; padding:3px 0 0 20px; } |
.menuRectangle ul li a { position:relative; margin-left:-4px; top:-3px; font-weight:normal;} |
.menuRectangle a:link , .menuRectangle a:visited , .menuRectangle a :active { color:#fff; text-decoration:none; } |
.menuRectangle a:hover, .menuRectangle a:focus{ color: #5e5852; text-decoration:none; } |
/* Spécificités de chaque univers */ |
#menuRectangleBotanique ul li{ background:url(../images/carreVert.jpg) no-repeat; list-style:none } |
#menuRectangleActualites ul li{ background:url(../images/carreGris.jpg) no-repeat; list-style:none } |
#menuRectangleReseau ul li { background:url(../images/carreRouge.jpg) no-repeat; list-style:none } |
#menuRectangleProjets ul li { background:url(../images/carreBeige.jpg) no-repeat; list-style:none } |
/* pavé connexion */ |
#zone-menu-connexion { height:122px; width:320px; position:absolute; top:0; right:0; padding:0; font-family:arial; text-align:right; font-size:11px; |
background:url(../images/carreorange.png) no-repeat 9px -9px ;} |
/* Mise en page du formulaire*/ |
#zone-menu-connexion fieldset { text-align:left; width:273px;float:right; background:white; padding:28px 0 0 10px; border:solid 1px #99C242; |
text-decoration: none; -moz-border-radius: 0px 10px 10px 10px; -webkit-border-radius: 0px 10px 10px 10px; border-radius:0 10px 10px 10px;} |
#zone-menu-connexion fieldset input { font-size:11px;} |
#zone-menu-connexion h3 { position:absolute; width:270px; padding:5px 5px 5px 9px; margin:-29px 0 0 -10px; color:white; text-align:left; text-transform:uppercase; |
font-size:12px; background-color:#99C242; -moz-border-radius: 0px 10px 0px 0px; -webkit-border-radius: 0px 10px 0px 0px; border-radius:0 10px 0 0;} |
#zone-menu-connexion fieldset label { position:relative; width:15em; display:block; margin:.1em 0em; } |
label input { position : absolute; left : 100%; top : 0px; width:15px;} |
#username, #password { width:80px;} |
#zone-menu-connexion fieldset #connexion {border:solid 1px #8eb533; padding:0;} |
#persistant, #persistant_label {float:left;margin-left:-0px;} |
#persistant_label {padding-top:2px} |
#zone-menu-connexion #colonneDroite { width:150px; position:absolute; left:165px; top:21px;} |
/* Projets */ |
#bandeauProjets { width:845px; margin:20px 0 20px 0; border:dotted 1px #fd8c13; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; |
float:left; padding-left:65px; } |
#bandeauProjets ul { height:98px; padding:0px; list-style:none; font-family:arial;} |
#bandeauProjets ul li { width:250px; margin-left:15px; border: double 1px orange; border-width:0 4px 0 0; display:inline;height:95px;float:left;} |
#bandeauProjets ul li, #bandeauProjets ul li p { font-family:arial; font-size: 10px; line-height:1.3em;} |
#bandeauProjets ul li p { padding-right:2px; } |
#bandeauProjets ul li a { color:#7B9C35; font-weight:bold; } |
#bandeauProjets ul li h3 { padding:5px 0 5px 0 ; margin:0; color:#fd8c13; } |
#bandeauProjets ul li img { float:left; } |
#bandeauProjets ul .bouton { width:20px;} |
#boutonPrecedent, #boutonSuivant { position:absolute;} |
#boutonPrecedent { margin-left:-66px; margin-top:-99px; height:100px; background:white; cursor:pointer; width:70px; border:dotted 1px #fd8c13; |
border-right-style:none; -moz-border-radius: 10px 0 0px 10px ; -webkit-border-radius: 10px 0 0px 10px ; border-radius: 10px 0 0 10px; |
background:white url(../images/flecheGauche.jpg) no-repeat 5px 25px; } |
#boutonSuivant { margin-left:799px; margin-top:-99px; width:30px; cursor:pointer; background:white url(../images/flecheDroite.jpg) no-repeat 15px 25px; |
padding:28px 8px 53px 8px; border:dotted 1px #fd8c13; border-left-style:none;-moz-border-radius: 0px 10px 10px 0px ; -webkit-border-radius: 0px 10px 10px 0px ; |
border-radius: 0px 10px 10px 0px ; } |
#zone-bas-page { width:900px; clear:both;} |
#zone-bas-page div { width:900px; margin:20px 0 10px 0;text-align:center;} |
#zone-bas-page div ul li {list-style:none;text-decoration:none;text-align:center;font-size: 12px;font-family:arial;display:inline;margin-left:10px;padding :6px 0 0 20px} |
#accueil { background:url(../images/accueil.png) no-repeat 0px 2px; } |
#faq { background:url(../images/faq.png) no-repeat 0px 2px; } |
#contact { background:url(../images/contact.png) no-repeat 0px 2px; } |
#plan { background:url(../images/plan.png) no-repeat 0px 2px; } |
#rss { background:url(../images/rss.png) no-repeat 0px 2px; } |
#telechargement { background:url(../images/telechargement.png) no-repeat 0px 2px; } |
#visite { background:url(../images/visite.png) no-repeat 0px 2px; } |
#mentions { background:url(../images/cc.gif) no-repeat 0px 2px; } |
#zone-bas-page>div a:link , #zone-bas-page>div a:visited , #zone-bas-page>div a :active { font-weight:normal; color:#7b9c35; text-decoration:none; } |
#zone-bas-page>div a:hover, #menupied a:focus { font-weight:normal; color: #fd8c13;text-decoration:none;} |
#coordonees { width:888px; text-align:center; margin:auto; background:url(../images/petitCarre.jpg) no-repeat right; height:15px; } |
#coordonees span { float:left; padding-left:15px; background:url(../images/petitCarre.jpg) no-repeat 5px 5px; font-family:arial; |
font-size:12px; font-weight:normal; font-style:normal;} |
#coordonees a {font-family:arial; font-size:12px; text-align:justify; font-weight:normal; line-height:16px; list-style:none;} |
#coordonees a:link, #coordonees a:visited, #coordonees a :active {color:#3a3633;} |
#coordonees a:hover, #coordonees a:focus { color:#fd8c13;} |
/trunk/sites/accueil/generique/images/visite.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/visite.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/imageAccueilCarres.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/imageAccueilCarres.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/accueil.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/accueil.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/cc.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/sites/accueil/generique/images/cc.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/faq.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/faq.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/rss.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/rss.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/gb.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/sites/accueil/generique/images/gb.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/carreGris.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/carreGris.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/carres.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/carres.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/carreBeige.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/carreBeige.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/telechargement.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/telechargement.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/carreorange.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/carreorange.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/fr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/sites/accueil/generique/images/fr.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/carreVert.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/carreVert.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/flecheDroite.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/flecheDroite.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/plan.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/plan.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/carreRouge.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/carreRouge.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/contact.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/contact.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/petitCarre.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/petitCarre.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/.directory |
---|
New file |
0,0 → 1,3 |
[Dolphin] |
ShowPreview=true |
Timestamp=2010,5,28,17,21,44 |
/trunk/sites/accueil/generique/images/bandeau.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/sites/accueil/generique/images/bandeau.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/sites/accueil/generique/images/flecheGauche.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/jpeg |
/trunk/sites/accueil/generique/images/flecheGauche.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/jpeg |
\ No newline at end of property |
/trunk/sites/accueil/generique/scripts/accueilv5.js |
---|
New file |
0,0 → 1,99 |
/** |
* Script JQuery du site |
* |
* @author Grégoire Duché <jpm@tela-botanica.org> |
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt> |
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt> |
* @version $Id$ |
* @copyright 2009 |
*/ |
var url_service_jrest = "http://162.38.234.3/jrest_tela/TelaUtilisateurs"; |
$(document).ready(function() { |
/** |
* Ajout de contenus : inscrits, connectés, et boutons précédents et suivants |
* */ |
// On ajoute les champs Inscrits et connectés uniquement si JS obtient une réponse du service |
$.getJSON(url_service_jrest, |
function(data){ |
var nbInscrits = data[0]; |
var nbVisiteurs = data[1]; |
$("#zone-menu-haut ul").prepend('<li class="vert" id="connectes"> Visiteurs : <span class="gris">' + nbVisiteurs + '</span></li>'); |
$("#zone-menu-haut ul").prepend('<li class="vert" id="inscrits"> Inscrits : <span class="gris">' + nbInscrits + '</span></li>'); |
}); |
/** |
* Gestion des effets graphiques sur bandeau |
* * |
TODO : supprimer les lignes ci-dessous |
$(".motsclefs").mouseover(function() { |
//Changer la couleur du titre. |
$(this).addClass("grisclair"); |
$(this).children("h3").children("span").addClass("grisfonce"); |
}); |
$(".motsclefs").mouseout(function() { |
//Changer la couleur du titre. |
$(this).addClass("grisfonce"); |
$(this).removeClass("grisclair"); |
$(this).children("h3").children("span").removeClass("grisfonce"); |
$(this).children("h3").children("span").addClass("grisclair"); |
});*/ |
$("#bandeauProjets").addClass("overflow-hidden"); |
$("#bandeauProjets").css("height", "100px"); |
$("#bandeauProjets ul").addClass("overflow-hidden"); |
$("#bandeauProjets ul").css("width", "9000px"); |
/******************************************************************************** |
* Gestion des projets - menu defilant * |
********************************************************************************/ |
/* Ajout à la volée des boutons suivant et précédent pour le menu défilant */ |
$("#bandeauProjets").append("<div id='boutonPrecedent'> </div>"); |
$("#bandeauProjets").append("<div id='boutonSuivant'> </div>"); |
/* Variables pour le défilement*/ |
var position = 0; |
var increment = 269; |
$("#boutonSuivant").click(function() { |
//Un clic sur le bouton "Projet suivant" doit défiler la liste des projets |
var ul = $(this).parent().children("ul"); |
var nbLi = ($(ul).children("li").size())-3; |
if (position/increment < nbLi) { |
position += increment; |
$(ul).animate({marginLeft: '-' + position}, 400, function() {}); |
} |
}); |
$("#boutonPrecedent").click(function() { |
//Un clic sur le bouton "Projet suivant" doit défiler la liste des projets |
if (position>0) { |
position -= increment; |
var ul = $(this).parent().children("ul"); |
$(ul).animate({marginLeft: '-' + position}, 400, function() {}); |
} |
}); |
if (navigator.appName=='Microsoft Internet Explorer') { |
$("#zone-titre").css("font-family", "optima2"); |
$(".motsclefs").css("font-family", "Helveticaneue2"); |
} |
} |
); |
/** |
* Vider le champ recherche lorsqu'on clique dessus. |
* */ |
//TODO : mettre les versions EN... |
function saisieChampRecherche(objet) { |
if (objet.value=="Rechercher dans le site") { |
objet.value = ""; |
} |
} |
/trunk/sites/accueil/generique/scripts/csshover3.htc |
---|
New file |
0,0 → 1,12 |
<public:attach event="ondocumentready" onevent="CSSHover()" /> |
<script> |
/** |
* Whatever:hover - V3.11 |
* http://www.xs4all.nl/~peterned/ |
* |
* Copyright (c) 2009 Peter Nederlof |
* Licensed under the LGPL license |
* http://creativecommons.org/licenses/LGPL/2.1 |
*/ |
window.CSSHover=(function(){var m=/(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active|focus))/i;var n=/(.*?)\:(hover|active|focus)/i;var o=/[^:]+:([a-z\-]+).*/i;var p=/(\.([a-z0-9_\-]+):[a-z]+)|(:[a-z]+)/gi;var q=/\.([a-z0-9_\-]*on(hover|active|focus))/i;var s=/msie (5|6|7)/i;var t=/backcompat/i;var u={index:0,list:['text-kashida','text-kashida-space','text-justify'],get:function(){return this.list[(this.index++)%this.list.length]}};var v=function(c){return c.replace(/-(.)/mg,function(a,b){return b.toUpperCase()})};var w={elements:[],callbacks:{},init:function(){if(!s.test(navigator.userAgent)&&!t.test(window.document.compatMode)){return}var a=window.document.styleSheets,l=a.length;for(var i=0;i<l;i++){this.parseStylesheet(a[i])}},parseStylesheet:function(a){if(a.imports){try{var b=a.imports;var l=b.length;for(var i=0;i<l;i++){this.parseStylesheet(a.imports[i])}}catch(securityException){}}try{var c=a.rules;var r=c.length;for(var j=0;j<r;j++){this.parseCSSRule(c[j],a)}}catch(someException){}},parseCSSRule:function(a,b){var c=a.selectorText;if(m.test(c)){var d=a.style.cssText;var e=n.exec(c)[1];var f=c.replace(o,'on$1');var g=c.replace(p,'.$2'+f);var h=q.exec(g)[1];var i=e+h;if(!this.callbacks[i]){var j=u.get();var k=v(j);b.addRule(e,j+':expression(CSSHover(this, "'+f+'", "'+h+'", "'+k+'"))');this.callbacks[i]=true}b.addRule(g,d)}},patch:function(a,b,c,d){try{var f=a.parentNode.currentStyle[d];a.style[d]=f}catch(e){a.runtimeStyle[d]=''}if(!a.csshover){a.csshover=[]}if(!a.csshover[c]){a.csshover[c]=true;var g=new CSSHoverElement(a,b,c);this.elements.push(g)}return b},unload:function(){try{var l=this.elements.length;for(var i=0;i<l;i++){this.elements[i].unload()}this.elements=[];this.callbacks={}}catch(e){}}};var x={onhover:{activator:'onmouseenter',deactivator:'onmouseleave'},onactive:{activator:'onmousedown',deactivator:'onmouseup'},onfocus:{activator:'onfocus',deactivator:'onblur'}};function CSSHoverElement(a,b,c){this.node=a;this.type=b;var d=new RegExp('(^|\\s)'+c+'(\\s|$)','g');this.activator=function(){a.className+=' '+c};this.deactivator=function(){a.className=a.className.replace(d,' ')};a.attachEvent(x[b].activator,this.activator);a.attachEvent(x[b].deactivator,this.deactivator)}CSSHoverElement.prototype={unload:function(){this.node.detachEvent(x[this.type].activator,this.activator);this.node.detachEvent(x[this.type].deactivator,this.deactivator);this.activator=null;this.deactivator=null;this.node=null;this.type=null}};window.attachEvent('onbeforeunload',function(){w.unload()});return function(a,b,c,d){if(a){return w.patch(a,b,c,d)}else{w.init()}}})(); |
</script> |