From 66980e639d7f017abfb3126713eda56cfc703775 Mon Sep 17 00:00:00 2001 From: renato <renato@rezo.net> Date: Mon, 6 Nov 2006 12:37:07 +0000 Subject: [PATCH] the element containing the buttons has now bandeau-principal as id and not as class --- dist/javascript/presentation.js | 4 ++-- dist/style_prive.html | 2 +- dist/style_prive_defaut.css | 4 ++-- ecrire/inc/boutons.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/javascript/presentation.js b/dist/javascript/presentation.js index 7bef7bf1b4..0d962ef08c 100644 --- a/dist/javascript/presentation.js +++ b/dist/javascript/presentation.js @@ -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'); diff --git a/dist/style_prive.html b/dist/style_prive.html index 7eccfd2a64..f553040d58 100644 --- a/dist/style_prive.html +++ b/dist/style_prive.html @@ -83,7 +83,7 @@ select.fondl { * Icones et bandeaux */ -.bandeau-principal { +#bandeau-principal { background-color: #fff; margin: 0; padding: 0; diff --git a/dist/style_prive_defaut.css b/dist/style_prive_defaut.css index 621d3a6919..42c6ef6e74 100644 --- a/dist/style_prive_defaut.css +++ b/dist/style_prive_defaut.css @@ -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 +} diff --git a/ecrire/inc/boutons.php b/ecrire/inc/boutons.php index c1b204da9b..d7b1e10ff7 100644 --- a/ecrire/inc/boutons.php +++ b/ecrire/inc/boutons.php @@ -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;'>" -- GitLab