Site web boulangerie
Résolu
godLike
Messages postés
259
Date d'inscription
Statut
Membre
Dernière intervention
-
Dr Zoidberg Messages postés 529 Date d'inscription Statut Membre Dernière intervention -
Dr Zoidberg Messages postés 529 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
j'ai un petit soucis, pour mon site web j'ai placé un menu tout en haut, et j'aimerai qu'en cliquant ca ne recharge pas tout la page, m'ai juste le bloc du milieu, voici mon code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Boulangerie : Feu de bois et tradition</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="design.css" />
</head>
<body>
<div id="conteneur">
<div id="menu_haut">
<div id="r1">
<img src="images/fleche_menu.gif"><a href="index.php">Accueil</a>
</div>
<div id="r2">
<img src="images/fleche_menu.gif"><a href="boulange.php">La boulangerie</a>
</div>
<div id="r3">
<img src="images/fleche_menu.gif"><a href="#" onClick="javascript:load('produits.php')">Nos produits</a>
</div>
<div id="r4">
<img src="images/fleche_menu.gif"><a href="marches.php">Les marchés</a>
</div>
</div>
<div id="commande">
<?php include ('commande.php') ?>
</div>
<div id="centre">
<img src="images/pain.jpg" alt="pain">
</div>
</div>
</body>
</html>
Et voici ma page 'produits.php' : (c'est juste pour le test)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Boulangerie : Feu de bois et tradition</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="design.css" />
</head>
<body>
<div id="pres">
SALUT
</div>
</body>
</html>
Quand je clique sur > Nos produits dans l'index .. Rien ne se passe, ca m'affiche toujours l'index.
Merci par avance, Cordialement.
j'ai un petit soucis, pour mon site web j'ai placé un menu tout en haut, et j'aimerai qu'en cliquant ca ne recharge pas tout la page, m'ai juste le bloc du milieu, voici mon code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Boulangerie : Feu de bois et tradition</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="design.css" />
</head>
<body>
<div id="conteneur">
<div id="menu_haut">
<div id="r1">
<img src="images/fleche_menu.gif"><a href="index.php">Accueil</a>
</div>
<div id="r2">
<img src="images/fleche_menu.gif"><a href="boulange.php">La boulangerie</a>
</div>
<div id="r3">
<img src="images/fleche_menu.gif"><a href="#" onClick="javascript:load('produits.php')">Nos produits</a>
</div>
<div id="r4">
<img src="images/fleche_menu.gif"><a href="marches.php">Les marchés</a>
</div>
</div>
<div id="commande">
<?php include ('commande.php') ?>
</div>
<div id="centre">
<img src="images/pain.jpg" alt="pain">
</div>
</div>
</body>
</html>
Et voici ma page 'produits.php' : (c'est juste pour le test)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Boulangerie : Feu de bois et tradition</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="design.css" />
</head>
<body>
<div id="pres">
SALUT
</div>
</body>
</html>
Quand je clique sur > Nos produits dans l'index .. Rien ne se passe, ca m'affiche toujours l'index.
Merci par avance, Cordialement.
A voir également:
- Site web boulangerie
- Création site web - Guide
- Site de telechargement - Accueil - Outils
- Site comme coco - Accueil - Réseaux sociaux
- Web office - Guide
- Quel site remplace coco - Accueil - Réseaux sociaux