Partage
  • Partager sur Facebook
  • Partager sur Twitter

problème avec lien ancre et frame

    23 mai 2006 à 9:54:14

    Bonjour a tous , j'utilisait mon logiciel MCK Studio 2005 , quand j'ai eu besoin de crée un lien ancre dans le menu de mon site , alors je crée le lien et je met dans le truc de MCK Studio 2005 :

    Citation

    #basmenu

    et il se débrouille lui même et crée le lien , ensuite je m'occupe de l'ance : j'utilise l'outil "ajouter du code HTML" , et il me permet de taper le head , body ... du code , je met dans le body :

    Citation

    <h2 id="basmenu"> </h2>

    et je place le body en bas du menu , et le logiciel se débrouille , après je compile le projet et je test , mais là , y a un petit problème : Quand je test le résultat et que je clique sur le lien dans le menu , au lieu de descendre a l'interieur de lui même , il fait réaparaitre le menu dans l'autre partie du site , et affiche donc 2 menu , parcontre il a descendu dans le 2ème , alors comment faire pour qu'il fasse cela dans la frame du menu , et qu'il ne le fasse pas dans la frame qui affiche le site ???

    Citation : Code Source du menu

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Menu</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="generator" content="MCK STUDIO 2005">
    <meta name="author" content="Dark Cenobyte">
    <meta name="copyright" content="© 2006 ArenaNet, Inc. All rights reserved. NCsoft, the interlocking NC logo, ArenaNet, Arena.net, Guild Wars, Guild Wars Factions, Factions and all associated logos and designs are trademarks or registered trademarks of NCsoft Corporation. All other trademarks are the property of their respective owners.">
    <meta name="description" content="FanSite du jeu Guild Wars">
    <meta name="language" content="Francais">

    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    margin-left: 0px;
    margin-Top: 0px;
    }
    .styleMedia {font-family: Arial, Helvetica, sans-serif; color: #FF0000;font-size: 10pt;text-decoration: none;}
    .styleMedia:hover {font-family: Arial, Helvetica, sans-serif; color: #FF0000;font-size: 10pt;text-decoration: underline;}
    .style1 {font-family: Zombie Holocaust , Arial, Helvetica, sans-serif; font-size: 16pt; color: #FF0000; text-decoration: none;}
    .style1:hover {font-family: Zombie Holocaust , Arial, Helvetica, sans-serif; font-size: 16pt; color: #FF0000; text-decoration: underline;}
    .style1:link {font-family: Zombie Holocaust , Arial, Helvetica, sans-serif; font-size: 16pt; color: #FF0000; text-decoration: underline;}
    -->
    </style>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function WM_netscapeCssFix() {
    if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth ||
    document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
    }
    }
    function WM_netscapeCssFixCheckIn() {
    if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.WM == 'undefined'){
    document.WM = new Object;
    }
    if (typeof document.WM.WM_scaleFont == 'undefined') {
    document.WM.WM_netscapeCssFix = new Object;
    document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
    document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = WM_netscapeCssFix;
    }
    }
    WM_netscapeCssFixCheckIn();
    function stopError() {return true;}
    window.onerror=stopError;
    //-->
    </script>
    </head>

    <body>
    <div id="Layer0" style="position:relative; width:200px; z-index:0">
    <div id="Layer1" style="position:absolute; left:0px; top:1000px; z-index:2"><img src="gfx/background032.jpg" alt="" width="200" height="200" border="0"></div>
    <div id="Layer2" style="position:absolute; left:0px; top:800px; z-index:3"><img src="gfx/background032.jpg" alt="" width="200" height="200" border="0"></div>
    <div id="Layer3" style="position:absolute; left:0px; top:0px; z-index:4"><img src="gfx/background032.jpg" alt="" width="200" height="200" border="0"></div>
    <div id="Layer4" style="position:absolute; left:0px; top:200px; z-index:5"><img src="gfx/background032.jpg" alt="" width="200" height="200" border="0"></div>
    <div id="Layer5" style="position:absolute; left:0px; top:400px; z-index:6"><img src="gfx/background032.jpg" alt="" width="200" height="200" border="0"></div>
    <div id="Layer6" style="position:absolute; left:0px; top:600px; z-index:7"><img src="gfx/background032.jpg" alt="" width="200" height="200" border="0"></div>
    <div id="Layer7" style="position:absolute; left:70px; top:470px; z-index:12"><a href="Page003.html" target="MainFrame"><img src="gfx/necrotouchofagony.jpg" alt="" width="64" height="64" border="0"></a></div>
    <div id="Layer8" style="position:absolute; left:70px; top:570px; z-index:14"><a href="Page004.html" target="MainFrame"><img src="gfx/necroweakenarmor.jpg" alt="" width="64" height="64" border="0"></a></div>
    <div id="Layer9" style="position:absolute; left:70px; top:670px; z-index:16"><a href="Page005.html" target="MainFrame"><img src="gfx/necrobarbs.jpg" alt="" width="64" height="64" border="0"></a></div>
    <div id="Layer10" style="position:absolute; left:70px; top:770px; z-index:18"><a href="Page006.html" target="MainFrame"><img src="gfx/necroplaguetouch.jpg" alt="" width="64" height="64" border="0"></a></div>
    <div id="Layer11" style="position:absolute; left:60px; top:0px; z-index:20"><img src="gfx/death06.gif" alt="" width="73" height="82" border="0"></div>
    <div id="Layer12" style="position:absolute; left:0px; top:870px; z-index:24"><a href="http://www.arena.net" target="_blank"><img src="gfx/arenanet-logo-400-blackbg%20%5B200x86%5D.jpg" alt="" width="200" height="86" border="0"></a></div>
    <div id="Layer13" style="position:absolute; left:0px; top:960px; z-index:25"><a href="http://www.guildwars.com" target="_blank"><img src="gfx/guildwars-logo-256-blackbg%20%5B128x38%5D.jpg" alt="" width="128" height="38" border="0"></a></div>
    <div id="Layer14" style="position:absolute; left:10px; top:1000px; z-index:26"><a href="http://www.directsong.com" target="_blank"><img src="gfx/directsong-footer.jpg" alt="" width="80" height="70" border="0"></a></div>
    <div id="Layer15" style="position:absolute; left:110px; top:1000px; z-index:27"><a href="http://www.ncsoft.net" target="_blank"><img src="gfx/ncsoft-footer.jpg" alt="" width="73" height="78" border="0"></a></div>
    <div id="Layer16" style="position:absolute; left:10px; top:670px; z-index:28"><a href="#basmenu" target="MainFrame"><img src="gfx/b_down.gif" alt="" width="50" height="50" border="0"></a></div>
    <div id="Layer17" style="position:absolute; left:70px; top:230px; width:60px; height:30px; z-index:10 "><div align="center" class="style1"><a href="Page002.html" target="MainFrame"class="style1">Accueil</a></div></div>
    <div id="Layer18" style="position:absolute; left:70px; top:330px; width:60px; height:30px; z-index:11 "><div align="center" class="style1"><a href="http://guildwarsobscure.redby.info/phpBB2/index.php" target="_blank"class="style1">Forum</a></div></div>
    <div id="Layer19" style="position:absolute; left:10px; top:530px; width:190px; height:30px; z-index:13 "><div align="left" class="style1"><a href="Page003.html" target="MainFrame"class="style1">Competences Necrotiques</a></div></div>
    <div id="Layer20" style="position:absolute; left:30px; top:630px; width:160px; height:30px; z-index:15 "><div align="left" class="style1"><a href="Page004.html" target="MainFrame"class="style1">Armures Necrotiques</a></div></div>
    <div id="Layer21" style="position:absolute; left:50px; top:730px; width:140px; height:30px; z-index:17 "><div align="left" class="style1"><a href="Page005.html" target="MainFrame"class="style1">Armes Necrotiques</a></div></div>
    <div id="Layer22" style="position:absolute; left:70px; top:830px; width:70px; height:30px; z-index:19 "><div align="left" class="style1"><a href="Page006.html" target="MainFrame"class="style1">Ma Guild</a></div></div>
    <div id="Layer23" style="position:absolute; left:70px; top:80px; width:70px; height:30px; z-index:21 "><div align="left" class="style1"><a href="mailto:vegetasupersayan@hotmail.com" target="MainFrame"class="style1">Mon email</a></div></div>
    <div id="Layer24" style="position:absolute; left:40px; top:430px; width:130px; height:30px; z-index:23 "><div align="left" class="style1"><a href="Page007.html" target="MainFrame"class="style1">Les Necromants</a></div></div>
    <div id="Layer25" style="position:absolute; left:70px; top:170px; z-index:8"><a href="Page002.html" target="MainFrame"><img src="data/Btn989786.jpg" alt="" width="64" height="64" border="0"></a></div>
    <div id="Layer26" style="position:absolute; left:70px; top:270px; z-index:9"><a href="http://guildwarsobscure.redby.info/phpBB2/index.php" target="_blank"><img src="data/Btn583761.jpg" alt="" width="64" height="64" border="0"></a></div>
    <div id="Layer27" style="position:absolute; left:70px; top:370px; z-index:22"><a href="Page007.html" target="MainFrame"><img src="data/Btn10729.jpg" alt="" width="64" height="64" border="0"></a></div>
    <div id="Layer28" style="position:absolute; left:20px; top:1130px; width:70px; z-index:29">
    <h2 id="basmenu"> </h2>

    </div>
    </div>
    <embed src="media/ALBINONI.MID" width="1" height="1" autostart="true" hidden="yes" loop="-1"></embed>
    </body>
    </html>

    • Partager sur Facebook
    • Partager sur Twitter
      25 mai 2006 à 10:02:44

      Allez ! je sait que le code génerer par MCK Studio 2005 est très mal foutu , très moche , ... , mais je suis pas un zero en html , je suis un "-1" !!!
      • Partager sur Facebook
      • Partager sur Twitter

      problème avec lien ancre et frame

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown