:: Easy-Script.com :: Index du Forum

Votre bannière ici !

 FAQFAQ   RechercherRechercher   Liste des MembresListe des Membres   Groupes d'utilisateursGroupes d'utilisateurs   S'enregistrerS'enregistrer 
 RSS : Les 20 dernières discussions des forums d'Easy-Script.nom RSS   ProfilProfil   Messages PrivésMessages Privés   ConnexionConnexion 

Poster un nouveau sujet  Répondre au sujet
Menu avec liens
amlcrd


Inscrit le: 13 Jan 2005
Messages: 1
Répondre en citant
J'ai un souci avec un menu avec liens. Ma page index est divisée en deux frames (top et main). Le bandeau et le menu se trouvent évidemment dans la partie topFrame. Avec ce script, les pages s'affichent dans la partie Top au lieu de s'afficher dans la partie Main. Quelqu'un poeut -il m'aider à résoudre ce problème ?

Code:

<style type="text/css">
<!--
body {
   background-image: url(../Template_MemoryOfWar/images/index_r4_c3.jpg);
}
-->
</style><div align="center"><img src="../Template_MemoryOfWar/images/Header_amlcrd.jpg" width="750" height="180"><br>
</div>
<html>
<head>
<title>:: EasyScript - Exemple ::</title>
<STYLE TYPE="text/css">
BODY {
   scrollbar-face-color: #0069B3;
   scrollbar-shadow-color: #000000;
   scrollbar-highlight-color: #FFFFFF;
   scrollbar-3dlight-color: #000000;
   scrollbar-darkshadow-color: #000000;
   scrollbar-track-color: #0069B3;
   scrollbar-arrow-color: #FFCC00;
   background-image: url(../Template_MemoryOfWar/images/index_r4_c3.jpg);
}
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
window.defaultStatus="Menu avec affichage des liens";
</SCRIPT>
<script language="javascript">
/*
JAVASCRIPT CREE SUR
ESPACE JAVASCRIPT.COM
http://www.espacejavascript.com

Script téléchargé sur EasyScript (www.easy-script.com)
*/
function rubriques(n)
{
   if(n == 1)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="http://www.easy-script.com" STYLE="color:#010101">Statuts</a> | <a href="http://www.easy-script.com/invite.php" STYLE="color:#010101">Membres du bureau</a> | <a href="http://www.easy-script.com/invite.php" STYLE="color:#010101">Historique</a> | <a href="http://www.easy-script.com/invite.php" STYLE="color:#010101">Adhésion</a> | <a href="http://www.easy-script.com/invite.php" STYLE="color:#010101">Dons et legs</a>';
        }
        if(n == 2)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="http://www.easy-script.com/javascript.php" STYLE="color:#010101">1998</a> | <a href="http://www.easy-script.com/phpscript.php" STYLE="color:#010101">1999</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">2001</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">2002</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">2003</a>';
        }
        if(n == 3)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="centre.html" STYLE="color:#010101">Centre de mémoire</a>';
        }
       if(n == 4)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="centre.html" STYLE="color:#010101">2005</a>';
        }
       if(n == 5)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="centre.html" STYLE="color:#010101">Origines</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">Réglement</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">Thèmes précédents</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">Thème actuel</a>';
        }
       if(n == 6)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="centre.html" STYLE="color:#010101">Liens</a>';
        }
       if(n == 7)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="centre.html" STYLE="color:#010101">Signer le livre</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">Lire le livre</a>';
        }
       if(n == 8)
        {
        document.getElementById("zone_rubriques").innerHTML = '<a href="mailto:apol@aeri-resistance.com" STYLE="color:#010101">Pour nous envoyer un mail</a> | <a href="http://www.easy-script.com/dhtmlscript.php" STYLE="color:#010101">Adresse postale</a>';
        }
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body bgcolor="#0069B3">
<center>
<table width=620 cellspacing=1 bgcolor="#000000" cellpadding=0>
<tr>
<td width=88 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(1);">
<font color="#FFFFFF" face="verdana" size=1><b>
L'association
</td>
<td width=97 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(2);">
<font color="#FFFFFF" face="verdana" size=1><b>
Manifestations
</td>
<td width=53 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(3);">
<font color="#FFFFFF" face="verdana" size=1><b>
Projets
</td>
<td width=85 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(4);">
<font color="#FFFFFF" face="verdana" size=1><b>
Informations
</td>
<td width=69 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(5);">
<font color="#FFFFFF" face="verdana" size=1><b>
Concours
</td>
<td width=51 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(6);">
<font color="#FFFFFF" face="verdana" size=1><b>
Liens
</td>
<td width=74 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(7);">
<font color="#FFFFFF" face="verdana" size=1><b>
Livre d'or
</td>
<td width=92 bgcolor="#010101" align="center" STYLE="padding:3;cursor:hand" onmouseout="this.style.background='#010101'" onmouseover="this.style.background='#999999';rubriques(8);">
<font color="#FFFFFF" face="verdana" size=1><b>
Contact
</td>
</tr></table>
<table width=420 cellspacing=1 bgcolor="#000000" cellpadding=0>
<tr><td width=382 bgcolor="#999999" STYLE="padding:3">
<DIV ID="zone_rubriques" STYLE="font-family:verdana;font-weight:bold;font-size:10;color:#FFFFFF" align="center">Choisissez une rubrique</DIV>
</td>
</tr>
</table>
</center>
</body>
</html>
Voir le profil de l'utilisateurEnvoyer un message privé
Redox
Modérateurs
Modérateurs

Inscrit le: 07 Sep 2004
Messages: 973
Répondre en citant
Salut,

T'as juste à ajouter dans tes balises href l'attribut target="Main" (où main est le nom de ta frame dans laquelle tu veux que la page s'affiche).

Bye
Voir le profil de l'utilisateurEnvoyer un message privé
Annonces && Topic Scooping
Menu avec liens
Vous pouvez poster de nouveaux sujets dans ce forum
Vous pouvez répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas voter dans les sondages de ce forum
Toutes les heures sont au format GMT + 2 Heures  
Page 1 sur 1  

  
  
 Poster un nouveau sujet  Répondre au sujet  


Powered by phpBB © 2001, 2002 phpBB Group
Traduction par : phpBB-fr.com
Design by Vjacheslav Trushkin
phpBB SEO

Anti Bot Question MOD - phpBB MOD against Spam Bots
Inscriptions / messages bloqués: 2600 / 609