Skip to content
Extraits de code Groupes Projets
Valider 66980e63 rédigé par renato's avatar renato
Parcourir les fichiers

the element containing the buttons has now bandeau-principal as id and not as class

parent 299305ed
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -6,7 +6,7 @@ function changestyle(id_couche, element, style) {
if (init_gauche) {
init_gauche = false;
if (bug_offsetwidth) {
$('#haut-page div.bandeau-principal').find('div.bandeau').each(function(){
$('#bandeau-principal div.bandeau').each(function(){
if (parseInt(this.style.left) > 0) {
demilargeur = Math.floor( this.offsetWidth / 2 );
if (demilargeur == 0) demilargeur = 100; // bug offsetwidth MSIE, on fixe une valeur arbitraire
......@@ -21,7 +21,7 @@ function changestyle(id_couche, element, style) {
}
// Masquer les elements du bandeau
var select = $('#haut-page').find('div.bandeau').not('#'+id_couche);
var select = $('#haut-page div.bandeau').not('#'+id_couche);
// sauf eventuellement la boite de recherche si la souris passe en-dessous
if (id_couche=='garder-recherche') select = select.not('#bandeaurecherche');
select.css('visibility','hidden');
......
......@@ -83,7 +83,7 @@ select.fondl {
* Icones et bandeaux
*/
.bandeau-principal {
#bandeau-principal {
background-color: #fff;
margin: 0;
padding: 0;
......
......@@ -7,7 +7,7 @@ body {
* Icones et bandeaux
*/
.bandeau-principal {
#bandeau-principal {
background-color: white;
margin: 0px;
padding: 0px;
......@@ -136,4 +136,4 @@ a.icone26:hover {
}
a.icone26 img {
vertical-align: middle;
}
\ No newline at end of file
}
......@@ -462,7 +462,7 @@ function bandeau_double_rangee($rubrique, $sous_rubrique, $largeur)
return "<div class='invisible_au_chargement' style='position: absolute; height: 0px; visibility: hidden;'><a href='oo'>"._T("access_mode_texte")."</a></div>"
. "<div id='haut-page'>"
. "<div class='bandeau-principal' align='center'>\n"
. "<div id='bandeau-principal' align='center'>\n"
. bandeau_principal($rubrique, $sous_rubrique, $largeur)
. "<table width='$largeur' cellpadding='0' cellspacing='0' align='center'><tr><td>"
. "<div style='text-align: $spip_lang_left; width: ".$largeur."px; position: relative; z-index: 2000;'>"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter