menu deroulant_ transformation

Le premier forum francophone sur l'éditeur de pages Web multiplateforme (Linux, Mac OS X, Windows) qui monte… KompoZer, héritier de Nvu, permet de créer vos pages Web graphiquement (wysiwyg) sans aucune connaissance du langage HTML.

Modérateur : chinon37

Répondre
jiceha
Gecko
Messages : 74
Inscription : 12 mai 2004, 23:11

menu deroulant_ transformation

Message par jiceha »

Bonjour,
Je m'occupe depuis peu du site d'une association, site créé avec des frames et un menu déroulant en php (je n'y connais pas grand'chose et on m'a dit tous ces détails...).
Pour améliorer le référencement du site, il faudrait refondre le site pour supprimer les frames.
Je débute mais petit à petit, comme les pages du site n'ont pas une architecture trop élaborée, j'arrive à refaire ces pages.
Mon gros problème : garder un menu déroulant mais je n'y arrive pas. Je parviens à faire un menu avec "tout visible", mais même avec une feuille de style copiée sur http://css.alsacreations.com/xmedia/exe ... zontal.htm
je n'y arrive pas ...
Merci de votre aide

Message envoyé avec : Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Ymai
Tyrannosaurus Rex
Messages : 4220
Inscription : 12 mars 2005, 11:36

Message par Ymai »

Bonjour
La feuille de styles ne suffit sans doute pas. Il y a aussi un peu de Javascript Inside.
Y aurait-il une adresse (même temporaire) à laquelle nous pouvons voir le code?
Autre possibilité, poster le code de la page ici-même.

Message envoyé avec : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty)
ymai
« Un enfant de cinq ans comprendrait cela ! Allez me chercher un enfant de cinq ans ! »
Groucho Marx.
jiceha
Gecko
Messages : 74
Inscription : 12 mai 2004, 23:11

menu deroulant_ transformation

Message par jiceha »

Merci de cette réponse rapide,
Pour le moment, je n'ai que le code de la page en "frame php"

Code : Tout sélectionner

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>moya_maladie_association</title><meta
 http-equiv="Content-Type"
 content="text/html; charset=iso-8859-1"><!-- Fireworks MX Dreamweaver MX target. Created Tue Apr 04 17:27:00 GMT+0200 (Paris, Madrid) 2006-->
<script language="JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_0322100724_2) return;
window.mm_menu_0322100724_2 = new Menu("root",163,20,"Verdana, Arial, Helvetica, sans-serif",14,"#0000ff","#ffffff","#9f9fff","#0000ff","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_0322100724_2.addMenuItem("Qui&nbsp;sommes&nbsp;nous","window.open('bas_quisommesnous.htm', 'mainframe');");
mm_menu_0322100724_2.addMenuItem("Les&nbsp;objectifs","window.open('bas_lesobjectifs.htm', 'mainframe');");
mm_menu_0322100724_2.addMenuItem("Les&nbsp;Actions","window.open('bas_lesactionsdelassociation.htm', 'mainframe');");
mm_menu_0322100724_2.addMenuItem("Derni&egrave;res&nbsp;nouvelles","window.open('bas_dernierenouvelle.htm', 'mainframe');");
mm_menu_0322100724_2.fontWeight="bold";
mm_menu_0322100724_2.hideOnMouseOut=true;
mm_menu_0322100724_2.menuBorder=0;
mm_menu_0322100724_2.menuLiteBgColor='#ffffff';
mm_menu_0322100724_2.menuBorderBgColor='#ffffff';
mm_menu_0322100724_2.bgColor='#ffffff';
window.mm_menu_0322101125_0 = new Menu("root",200,20,"Verdana, Arial, Helvetica, sans-serif",14,"#0000ff","#ffffff","#9f9fff","#0000ff","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_0322101125_0.addMenuItem("D&eacute;finition","window.open('bas_definitiondelamaladie.htm', 'mainframe');");
mm_menu_0322101125_0.addMenuItem("Le&nbsp;diagnostic","window.open('bas_diagnostic.htm', 'mainframe');");
mm_menu_0322101125_0.addMenuItem("Description&nbsp;clinique","window.open('bas_descriptionclinique.htm', 'mainframe');");
mm_menu_0322101125_0.addMenuItem("Approche&nbsp;th&eacute;rapeutique","window.open('bas_approchatherapeutique.htm', 'mainframe');");
mm_menu_0322101125_0.fontWeight="bold";
mm_menu_0322101125_0.hideOnMouseOut=true;
mm_menu_0322101125_0.menuBorder=0;
mm_menu_0322101125_0.menuLiteBgColor='#ffffff';
mm_menu_0322101125_0.menuBorderBgColor='#ffffff';
mm_menu_0322101125_0.bgColor='#ffffff';
window.mm_menu_0322101417_1 = new Menu("root",168,20,"Verdana, Arial, Helvetica, sans-serif",14,"#0000ff","#ffffff","#9f9fff","#0000ff","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_0322101417_1.addMenuItem("Posez&nbsp;vos&nbsp;questions","window.open('bas_posezvotrequestion.htm', 'mainframe');");
mm_menu_0322101417_1.addMenuItem("Nous&nbsp;contacter","window.open('bas_contact.htm', 'mainframe');");
mm_menu_0322101417_1.addMenuItem("Adresses&nbsp;utiles","window.open('bas_adresse_utile.htm', 'mainframe');");
mm_menu_0322101417_1.fontWeight="bold";
mm_menu_0322101417_1.hideOnMouseOut=true;
mm_menu_0322101417_1.menuBorder=0;
mm_menu_0322101417_1.menuLiteBgColor='#ffffff';
mm_menu_0322101417_1.menuBorderBgColor='#ffffff';
mm_menu_0322101417_1.bgColor='#ffffff';
mm_menu_0322101417_1.writeMenus();
} // mmLoadMenus()
//-->
  </script>
<script language="JavaScript1.2" src="mm_menu.js"></script></head>
<body leftmargin="10" topmargin="0"
 style="background-color: rgb(255, 255, 255);" marginheight="0"
 marginwidth="0"><script language="JavaScript1.2">mmLoadMenus();</script>
<table border="0" cellpadding="0" cellspacing="0"
 width="750"><!-- fwtable fwsrc="haut.png" fwbase="haut_association.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tbody> <tr> <td><img src="mimage/spacer.gif"
 alt="" border="0" height="1" width="16"></td>
<td><img src="mimage/spacer.gif" alt=""
 border="0" height="1" width="175"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="91"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="87"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="45"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="71"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="41"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="90"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="6"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="36"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="52"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="35"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="5"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="1"></td> </tr> <tr>
<td colspan="13"><img name="haut_association_r1_c1"
 src="mimage/haut_association_r1_c1.gif" alt="" border="0"
 height="3" width="750"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="3" width="1"></td> </tr> <tr>
<td rowspan="8"><img name="haut_association_r2_c1"
 src="mimage/haut_association_r2_c1.gif" alt="" border="0"
 height="127" width="16"></td> <td
 rowspan="7"><a href="bas_premierepage.htm"
 target="mainframe"><img
 style="border: 0px solid ; width: 175px; height: 113px;"
 name="Accueil" src="mimage/haut_association_r2_c2.gif"
 alt=""></a></td> <td colspan="11"><img
 name="haut_association_r2_c3"
 src="mimage/haut_association_r2_c3.gif" alt="" border="0"
 height="11" width="559"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="11" width="1"></td> </tr> <tr>
<td rowspan="2" colspan="7"><img
 name="haut_association_r3_c3"
 src="mimage/haut_association_r3_c3.gif" alt="" border="0"
 height="82" width="431"></td> <td
 colspan="3"><a href="bas_commentfaireundon.htm"
 target="mainframe"><img
 style="border: 0px solid ; width: 123px; height: 27px;"
 name="haut_association_r3_c10"
 src="mimage/haut_association_r3_c10.gif" alt=""></a></td>
<td rowspan="7"><img name="haut_association_r3_c13"
 src="mimage/haut_association_r3_c13.gif" alt=""
 border="0" height="116" width="5"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="27" width="1"></td> </tr> <tr>
<td colspan="3"><img name="haut_association_r4_c10"
 src="mimage/haut_association_r4_c10.gif" alt=""
 border="0" height="55" width="123"></td>
<td><img src="mimage/spacer.gif" alt=""
 border="0" height="55" width="1"></td> </tr>
<tr> <td rowspan="5"><img
 name="haut_association_r5_c3"
 src="mimage/haut_association_r5_c3.gif" alt="" border="0"
 height="34" width="91"></td> <td><a
 href="#" onmouseout="MM_startTimeout();"
 onmouseover="MM_showMenu(window.mm_menu_0322100724_2,-11,-93,null,'haut_association_r5_c4');"><img
 name="haut_association_r5_c4"
 src="mimage/haut_association_r5_c4.gif" alt="" border="0"
 height="11" width="87"></a></td> <td
 rowspan="5"><img name="haut_association_r5_c5"
 src="mimage/haut_association_r5_c5.gif" alt="" border="0"
 height="34" width="45"></td> <td><a
 href="#" onmouseout="MM_startTimeout();"
 onmouseover="MM_showMenu(window.mm_menu_0322101125_0,-10,-93,null,'haut_association_r5_c6');"><img
 name="haut_association_r5_c6"
 src="mimage/haut_association_r5_c6.gif" alt="" border="0"
 height="11" width="71"></a></td> <td
 rowspan="5"><img name="haut_association_r5_c7"
 src="mimage/haut_association_r5_c7.gif" alt="" border="0"
 height="34" width="41"></td> <td rowspan="3"><a
 href="bas_temoignage.htm" target="mainframe"><img
 name="haut_association_r5_c8"
 src="mimage/haut_association_r5_c8.gif" alt="" border="0"
 height="14" width="90"></a></td> <td
 rowspan="5" colspan="2"><img
 name="haut_association_r5_c9"
 src="mimage/haut_association_r5_c9.gif" alt="" border="0"
 height="34" width="42"></td> <td rowspan="2"><a
 href="#" onmouseout="MM_startTimeout();"
 onmouseover="MM_showMenu(window.mm_menu_0322101417_1,-75,-73,null,'haut_association_r5_c11');"><img
 name="haut_association_r5_c11"
 src="mimage/haut_association_r5_c11.gif" alt=""
 border="0" height="12" width="52"></a></td>
<td rowspan="5"><img name="haut_association_r5_c12"
 src="mimage/haut_association_r5_c12.gif" alt=""
 border="0" height="34" width="35"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="11" width="1"></td> </tr> <tr>
<td rowspan="4"><img name="haut_association_r6_c4"
 src="mimage/haut_association_r6_c4.gif" alt="" border="0"
 height="23" width="87"></td> <td rowspan="4"><img
 name="haut_association_r6_c6"
 src="mimage/haut_association_r6_c6.gif" alt="" border="0"
 height="23" width="71"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="1" width="1"></td> </tr> <tr>
<td rowspan="3"><img name="haut_association_r7_c11"
 src="mimage/haut_association_r7_c11.gif" alt=""
 border="0" height="22" width="52"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="2" width="1"></td> </tr> <tr>
<td rowspan="2"><img name="haut_association_r8_c8"
 src="mimage/haut_association_r8_c8.gif" alt="" border="0"
 height="20" width="90"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="6" width="1"></td> </tr> <tr>
<td><img name="haut_association_r9_c2"
 src="mimage/haut_association_r9_c2.gif" alt="" border="0"
 height="14" width="175"></td> <td><img
 src="mimage/spacer.gif" alt="" border="0"
 height="14" width="1"></td> </tr> </tbody>
</table><script src="http://www.google-analytics.com/urchin.js"
 type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1616760-1";
urchinTracker();
</script></body></html>
Est-ce ce code ?
[/code]

Message envoyé avec : Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Ymai
Tyrannosaurus Rex
Messages : 4220
Inscription : 12 mars 2005, 11:36

Re: menu deroulant_ transformation

Message par Ymai »

jiceha a écrit :comme les pages du site n'ont pas une architecture trop élaborée
Heu.....?????
Pour ma part, j'aurai énormément de peine. La liste des éléments de tableaux imbriqués me paraît fort impressionnante. Cette page a certainement été réalisée avec un outil qui produit automatiquement du code sur base d'une disposition arbitraire d'éléments déposés sur une page. Au moins d'après mes souvenirs de ce que peut faire le logiciel DW.
Je m'en voudrais de provoquer le moindre découragement, mais si quelqu'un d'autre voyait comment aborder le problème sans tout refaire de zéro...
Désolé.

Message envoyé avec : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty)
ymai
« Un enfant de cinq ans comprendrait cela ! Allez me chercher un enfant de cinq ans ! »
Groucho Marx.
jiceha
Gecko
Messages : 74
Inscription : 12 mai 2004, 23:11

menu deroulant_ transformation

Message par jiceha »

Merci de cet avis mais quand je parle des pages du site pas trop élaborées, j'évoque les autres que le menu qui est un "frame" à part que je n'arrive pas à refaire en html "à ma portée". J'essaie de faire des listes avec le css que j'ai récupéré mais ça ne donne rien :oops:
Je me disais donc qu'il y avait peut-être un moyen de transformer et d'incorporer le frame php du menu... à une page refaite .
@+

Message envoyé avec : Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Invité

Re: menu deroulant_ transformation

Message par Invité »

Ymai a écrit :Cette page a certainement été réalisée avec un outil qui produit automatiquement du code sur base d'une disposition arbitraire d'éléments déposés sur une page.
la phrase à l' endroit ça donne quoi ?
Au moins d'après mes souvenirs de ce que peut faire le logiciel DW.
qu' il est fort...

Code : Tout sélectionner

Fireworks MX Dreamweaver MX target. Created Tue Apr 04 17:27:00 GMT+0200 (Paris, Madrid) 2006--> 
<script language="JavaScript"> 
Ymai
Tyrannosaurus Rex
Messages : 4220
Inscription : 12 mars 2005, 11:36

Re: menu deroulant_ transformation

Message par Ymai »

Anonymous a écrit :
Ymai a écrit :Cette page a certainement été réalisée avec un outil qui produit automatiquement du code sur base d'une disposition arbitraire d'éléments déposés sur une page.
la phrase à l' endroit ça donne quoi ?
This page was probably produced by a wizard that automatically generates HTML code on the basis of different kind of elements that the user disposed anywhere on the sheet.

Mais mon anglais, fort approximatif il est.
ymai
« Un enfant de cinq ans comprendrait cela ! Allez me chercher un enfant de cinq ans ! »
Groucho Marx.
chinon37
Animal mythique
Messages : 5319
Inscription : 21 mars 2005, 10:17

Message par chinon37 »

Bonjour,
Cette page en tableaux fortement imbriqués est particulièrement difficile à exploiter (voir impossible) avec Kompozer/Nvu.

Si on pouvait avoir une vue de l'aspect de la page (ex: copie d'écran), on pourrait peut être orienter sur une page de construction simple avec un menu déroulant tel que souhaité ci-dessus qui ne change en rien le design.
Préferez Kompozer 0.8 à Nvu
Défendons nos valeurs, adhérons à l'APRIL
La Démocratie, c'est quand on frappe à votre porte à 6h00 du matin, et que c'est le laitier.
jiceha
Gecko
Messages : 74
Inscription : 12 mai 2004, 23:11

menu deroulant_ transformation

Message par jiceha »

Merci de ces avis.
J'essaie de mettre la capture d'écran en PJhttp://cjoint.com/?gvlokMvbfF

Message envoyé avec : Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Ymai
Tyrannosaurus Rex
Messages : 4220
Inscription : 12 mars 2005, 11:36

Message par Ymai »

L'adresse http://asso.orpha.net/********//index.html est-elle privée? Voir la page "en vrai" est sans doute plus parlant.

Message envoyé avec : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty)
ymai
« Un enfant de cinq ans comprendrait cela ! Allez me chercher un enfant de cinq ans ! »
Groucho Marx.
chinon37
Animal mythique
Messages : 5319
Inscription : 21 mars 2005, 10:17

Message par chinon37 »

ici se trouve l'original:http://asso.orpha.net/ATMM/
Je pense qu'il y a possibilité d'avoir le même aspect en plus simple et sans tableaux... :oops: :? mais là, j'ai pô trop le temps de m'y pencher: le mildiou menace :twisted:
Préferez Kompozer 0.8 à Nvu
Défendons nos valeurs, adhérons à l'APRIL
La Démocratie, c'est quand on frappe à votre porte à 6h00 du matin, et que c'est le laitier.
jiceha
Gecko
Messages : 74
Inscription : 12 mai 2004, 23:11

menu deroulant_ transformation

Message par jiceha »

Non c'est une association dont je m'occupe, elle n'est pas privée et toute aide est la bienvenue pour un pauvre-webmestre-qui-ne-sait-pas-tout-faire-en-html-loin-de-là-mais-qui-ne-demande-qu'à-apprendre
Merci d'avance.

Message envoyé avec : Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Répondre

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité