Deplacer une ancre - novice

cindy-girl Messages postés 10 Statut Membre -  
cindy-girl Messages postés 10 Statut Membre -
Bonjour,

j ai suivi un tuto sur le site du zero pour le php et html, je commence tout juste a me debrouiller cependant je bloque deja un peu :), j aimerai deplacer une ancre sur ma page d accueil mais quand je le fais le lien ne fonctionne plus quelqu un pourrait m indiquer la marche a suivre svp?

merci

1 réponse

  1. cindy-girl Messages postés 10 Statut Membre
     
    voici mon script:

    j aime que l ancre soit au dessus du texte(menu) "photo"

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40/">
    <head>
    <title>Menu déroulant en Javascript</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="File-List" href="mds_fichiers/filelist.xml">

    <style>
    #niveau_1{
    width:170px;
    background-color:;
    padding-left:20px;
    }
    #niveau_2{
    width:170px;
    background-color:;
    padding-left:20px;
    }
    #niveau_3{
    width:170px;
    background-color:;
    padding-left:20px;
    }

    </style>

    <!--[if !mso]>
    <style>
    v\:* { behavior: url(#default#VML) }
    o\:* { behavior: url(#default#VML) }
    .shape { behavior: url(#default#VML) }
    </style>
    <![endif]--><!--[if gte mso 9]>
    <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
    </xml><![endif]-->

    </head>

    <script>
    function sous_menu_ouvre(_sous_menu) {
    _sous_menu.style.display='block';
    }
    function sous_menu_ferme(_sous_menu) {
    _sous_menu.style.display='none';
    }

    </script>

    <body>

    <ul style="list-style-type:square">
    <li onMouseOver="sous_menu_ouvre(document.getElementById('niveau_1_in'));"
    onMouseOut="sous_menu_ferme(document.getElementById('niveau_1_in'));" id="niveau_1" style="float:left">
    Photos</li>
    <ul id="niveau_1_in" style="display:none">

    <la onMouseOver="sous_menu_ouvre(document.getElementById('niveau_11_in'));"
    onMouseOut="sous_menu_ferme(document.getElementById('niveau_11_in'));" id="niveau_12">
    <p><!--[if gte vml 1]><v:rect id="_x0000_s1028"
    alt="" style='position:absolute;left:185.25pt;top:128.25pt;width:108.75pt;
    height:76.5pt;z-index:1' fillcolor="#969696" stroked="f">
    <v:textbox>
    <table cellspacing="0" cellpadding="0" width="100%" height="100%" id="table1">
    <tr>
    <td align="center"><font color="#FFFFFF">Avril</font><p>
    <font color="#FFFFFF">Mai</font></td>
    </tr>
    </table>
    </v:textbox>
    </v:rect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
    absolute;z-index:1;left:247px;top:171px;width:149px;height:106px'><img
    width=149 height=106 src="mds4_fichiers/image001.gif" v:shapes="_x0000_s1028"></span><![endif]></p></la>
    </ul>
    </ul>

    </body>
    </html>
    0