Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > Général Conception Web > Débuter
Débuter Forum d'entraide pour débuter dans la création de sites Web
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 09/06/2011, 11h39   #1
Invité de passage
 
Homme
Webdesigner
Inscription : juin 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Webdesigner

Informations forums :
Inscription : juin 2011
Messages : 4
Points : 0
Points : 0
Par défaut Lier un menu a une cellule conteneur

Bonjour a tous,

Voila je débute dans le milieu et j'ai un petit souci pour mettre en place un lien dans mes boutons du menu, pour appelé une page et la faire apparaitre dans ma cellule.

voici le script de mon menu:
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
<div id="conteneur"><!-- Conteneur Global --> 
         <div id="header">
              <ul id="menu">
                  <li id="ici"><a href="#" title="">Accueil</a></li>
                  <li><a href="#" title="">L'Association</a></li> 
                  <li><a href="#" title="">Forum</a></li> 
                  <li><a href="#" title="">Galeries</a></li> 
                  <li><a href="#" title="">Merchandising</a></li> 
                  <li><a href="#" title="">Partenaires</a></li> 
                  <li><a href="#" title="">Contact</a></li> 
              </ul>    
</div>
et voici le cadre dans le quel je veut faire apparaitre mes autre pages :

Code :
1
2
3
4
5
6
7
<div id="right">        
             <div class="news_haut"></div>
             <div class="news_fond">
             </div><div class="news_bas"></div>

          </div>
Merci d'avance de l'aide que vous m'apporterez
rhombeus est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/06/2011, 14h01   #2
Rédacteur/Modérateur
 
Avatar de andry.aime
 
Homme Andry Aimé
Inscription : septembre 2007
Messages : 5 128
Détails du profil
Informations personnelles :
Nom : Homme Andry Aimé
Localisation : Ile Maurice

Informations forums :
Inscription : septembre 2007
Messages : 5 128
Points : 7 270
Points : 7 270
Bonsoir,

Regarde du coté AJAX.

A+.
andry.aime est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/06/2011, 14h12   #3
Invité de passage
 
Homme
Webdesigner
Inscription : juin 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Webdesigner

Informations forums :
Inscription : juin 2011
Messages : 4
Points : 0
Points : 0
Merci, je suis allé voir mais je comprend rien du tout,
je retrouve bien quelques infos en rapport avec ma configuration.

j'ai juste besoin que l'on me montre et m'explique comment je doit procédé,
car j'ai pas envie de passé 15ans sur ce site, on ma dit qu'il fallait que je face mes pages en PHP ! mais le ick c'est que mon interface ou je vais héberger mes pages son du html, pour mieux comprend je peut vous communiqué l' url en MP.
rhombeus est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/06/2011, 14h16   #4
Rédacteur/Modérateur
 
Avatar de andry.aime
 
Homme Andry Aimé
Inscription : septembre 2007
Messages : 5 128
Détails du profil
Informations personnelles :
Nom : Homme Andry Aimé
Localisation : Ile Maurice

Informations forums :
Inscription : septembre 2007
Messages : 5 128
Points : 7 270
Points : 7 270
Dans le onclick du lien, tu lances une requête AJAX qui va appeler la page, une fois la page récupérer, tu le places dans le div avec innerHTML.
andry.aime est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/06/2011, 14h31   #5
Invité de passage
 
Homme
Webdesigner
Inscription : juin 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Webdesigner

Informations forums :
Inscription : juin 2011
Messages : 4
Points : 0
Points : 0
heuuuu ouai ok
je vais paraitre comme un gros boulet et jen suis désolé d'avance !
vous vous comprenez ce que vous dites mais moi la je comprend rien du tout

J'utilise Dreamweaver CS4,

et ça c'est page :
Code html :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="min-width" lang="fr" xml:lang="fr"  >
<head>
<?php
header('Content-Type: text/html; charset=ISO-8859-1');
?> 
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <title>AMAZONIA-PIRANHA</title>
      <link rel="shortcut icon" type="image/x-icon" href="http://i29.servimg.com/u/f29/15/59/98/53/logo_310.png" />
<meta http-equiv="content-type" content="text/html; charset=windows-1252;" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="http://illiweb.com/rsc/17/frm/lang/notutf8-fr.js" type="text/javascript"></script>
<style type="text/css"> 
body, html {
	margin:0;
	padding:0;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
	color:#FFF;
	background-attachment: fixed;
	font-size:12px;
	background-image: url(http://i24.servimg.com/u/f24/15/34/63/91/darkwa10.jpg);
	background-color: #000;
}     
#conteneur {
	margin: 0 auto;
	width: 935px;
	position:relative;
	text-align:center;
}	
#header {
	text-align:left;
	height:225px;
	margin:0 auto;
	width:auto;
	background: url(http://i24.servimg.com/u/f24/15/34/63/91/header12.png);
} 	
#contenu {
	width: 935px;
	padding: 0;
	margin:0 auto;
	background:url(none);
}
#left {
     float: left;
	 width: 168px;
	 margin:0 0 0 10px;
	 padding:0;
}   
#right {
     width: 740px;
	 margin:0 0 0 187px;
	 padding:0;
	 text-align:left;
}   
#pied {
	height:45px;
	width:935px;
	margin: 0;
	padding: 0;
	clear:both;
}			
/*Class générique*/
a  {
     color: #f5971d;
	 text-decoration: none;
	 margin:0;
	 font-weight:bold;
	 outline:none;
}	
a:hover {
     color: #fff;
}	
img, p, h1, h2, h3, h4, h5,h6, span {
	border:0;
	margin:0;
	padding:0;
}
span.titre {
     color: #f5971d;
	 font-weight:bold;
}	
span.bleu  {
     color: #f5971d;
	 font-weight:bold;
}	
.spacer {
     margin:3px 0 0 0;
} 
.grandspacer  {
     margin:15px 0 0 0;
}
.clear {
     clear: both;
	 visibility: hidden; 
}	
/*Menu	vertical*/
.hautmenu  {
	height:32px;
	width:168px;
	margin:0;
	background:url(http://i24.servimg.com/u/f24/15/34/63/91/top_me11.png) no-repeat bottom;
	padding:10px 0 0 0;
	margin:0;
	color:#F00;
	text-align:center;
	font-weight:bold;
	font-size:14px;
}
.fondmenu {
	width:168px;
	margin:0;
	background:url(http://i24.servimg.com/u/f24/15/34/63/91/f_mu10.png);
	padding:0;
}
.basmenu {
	height:20px;
	width:168px;
	margin:0;
	background:url(http://i24.servimg.com/u/f24/15/34/63/91/b_menu10.png);
	padding:0;
}
ul.menuh {
	 list-style:none;
	 width:168px;
	 padding:0;
	 margin:0;
	 text-align:center;
}
ul.menuh li a {
	display: block;
	height: 14px;
	color: #F00;
	text-decoration: none;
}
ul.menuh li a:hover {
	color: #FFF;
}	
/*Menu horizontal*/
ul#menu {
	position: absolute;
	margin:17px 0 0 3%;
	padding:0;
	width: 778px;
	left: -11px;
	top: 173px;
}
ul#menu li {
	height: 30px;
	float: left;
	margin: 0 2px 0 2px;
	padding:0 0 0 22px;
	background: url(http://i24.servimg.com/u/f24/15/34/63/91/menule11.png) top left no-repeat;
	list-style-type: none;
}
ul#menu li a {
	display: block;
	background: url(http://i24.servimg.com/u/f24/15/34/63/91/menuri11.png) right top no-repeat;
	padding:1em 18px 0.9em 0;
	color: #ff0000;
	text-decoration: none;
	margin: 0;
	font-weight:bold;
	outline:none;
}
ul#menu li a:hover {
     padding:1em 18px 0.9em 0;
	 color: #f5971d;
	 text-decoration: none;
	 margin: 0;
}  
ul#menu li#ici a   {
     color: #f5971d;
	 margin: 0;
	 padding:1em 18px 0.9em 0;
} 
/*Pied et copyright*/
.copyright {
	background-color:#000
	padding :20px 0 0 0;
	width:450px;
	height:35px;
	text-align:center;
	font-weight:bold;
	cursor:pointer;
	margin:0 auto;
	background-color: #000;
}   
/*Cadre de news*/
.news_haut {
	background:url(http://i24.servimg.com/u/f24/15/34/63/91/top_ne10.png) no-repeat;
	width:740px;
	height:38px;
	margin:0 auto 0 auto;
}
.news_fond {
	background:url(http://i24.servimg.com/u/f24/15/34/63/91/news_b11.png);
	width:690px;
	padding:0 25px 0 25px;
}
.news_bas  {
	background:url(http://i24.servimg.com/u/f24/15/34/63/91/b_m11.png) no-repeat;
	width:740px;
	height:38px;
}
</style>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="content-language" content="fr" />
<link href="style.css"	title="Défaut" rel="stylesheet" type="text/css" media="screen" />
</head>
<body> 
 
<div id="conteneur"><!-- Conteneur Global --> 
         <div id="header">
		 <!-- MENU -->
              <ul id="menu">
                  <li id="ici"><a href="#" title="">Home</a></li>
                  <li><a href="#" title="association">L'Association</a></li> 
                  <li><a href="http://amazonia-piranha.pro-forum.fr/forum" title="" target="_blank">Forum</a></li> 
                  <li><a href="#" title="">Galeries</a></li> 
                  <li><a href="#" title="">Merchandising</a></li> 
                  <li><a href="#" title="">Partenaires</a></li> 
                  <li><a href="#" title="">Contact</a></li> 
              </ul> 	
</div>
 
         <div id="contenu">
		      <!-- COLONNE DE GAUCHE -->		 
              <div id="left">
              <!-- MENU -->
                   <div class="hautmenu"></div><div class="fondmenu">
                   <form action="http://amazonia-piranha.pro-forum.fr/login.forum" method="post">
                        <table align="center" width="63%" border="0" cellspacing="1" cellpadding="0"><tr><td colspan="2" align="center">&nbsp;</td></tr>
                          <td class="align_center" width="50%"><input  class="post" type="text" name="username" value="" size="15" maxlength="25" /></td></tr><tr>
                            <td class="align_center"><input  class="post" type="password" name="password" size="15" maxlength="25" /></td></tr><tr align="center"><td colspan="2"><span class="gen">Connexion automatique: <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></span></td></tr><tr align="center"><td colspan="2"><input type="hidden" name="redirect" value="" /><input type="hidden" name="query" value="" /><input class="mainoption" type="submit" name="login" value="connexion" /></td></tr><tr align="center">
    <td height="76" colspan="2"><span class="gensmall"><a class="gensmall" href="http://amazonia-piranha.pro-forum.fr/profile?mode=sendpassword"><a href="http://amazonia-piranha.pro-forum.fr/profile?mode=sendpassword">mot de passe perdu</a></span></td></tr></table></form>
 
                   </div><div class="basmenu"></div>
		      <!-- MENU -->
                   <div class="hautmenu">
                     <p>&nbsp;</p>
                   </div>
                   <div class="fondmenu">
                        <ul class="menuh">
                            <li><a href="http://amazonia-piranha.pro-forum.fr/register" title="">Inscription</a></li> 
                            <li><a href="http://amazonia-piranha.pro-forum.fr/t3-regles-generales-du-forum" title="">Charte</a></li> 
                            <li><a href="http://amazonia-piranha.pro-forum.fr/h1-se-presenter" title="">Pr&eacute;sentation</a></li> 
                            <li><a href="http://amazonia-piranha.pro-forum.fr/post?f=4&amp;mode=newtopic" title="">Piranhas</a></li>  
                            <li><a href="http://amazonia-piranha.pro-forum.fr/post?f=35&amp;mode=newtopic" title="">Aquariums</a></li> 
                     </ul>
                </div><div class="basmenu"></div>
 
		      <!--MENU-->
                   <div class="hautmenu">
                     <p>&nbsp;</p>
</div><div class="fondmenu">
                        <ul class="menuh"><li><a href="#" title=""></a></li> 
                            <li><a href="http://aqualifestyle-france.com" title="" target="_blank">Aqualifestyle</a></li> 
                            <li><a href="#" title="">...</a></li> 
                            <li><a href="#" title="">...</a></li>  
                            <li><a href="#" title="">...</a></li> 
                        </ul> 	
                   </div><div class="basmenu"></div>
		      <!--MENU-->
                   <div class="hautmenu"></div><div class="fondmenu">
<div>
<p><br /><a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Partager</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
<p><br />
<!-- Histats.com  START  (standard)-->
<script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
<a href="http://www.histats.com" target="_blank" title="free hit counter javascript" ><script  type="text/javascript" >
try {Histats.start(1,1481615,4,429,112,75,"00011111");
Histats.track_hits();} catch(err){};
</script></a>
<!-- Histats.com  END  -->
</p><br />
</div>
</div><div class="basmenu"></div>
		      <!--MENU-->
                   <div></div><div>
<div>
<p>
<p><img src="http://i24.servimg.com/u/f24/15/34/63/91/galler10.png" />
<p><br />
</div><div></div>
		      <!-- MENU -->
              </div><!-- Fin Menu vertical -->
              </div>
              </div>
		      <!-- COLONNE DE DROITE -->		
		      <div id="right">
 
 		      <!-- CADRE NEWS -->                
			    <div class="news_haut"></div>
				 <div class="news_fond">
			       <p>&nbsp;</p>
			       <p>&nbsp;</p>
				      <p><span class="titre">Bienvenu sur le site officiel de l'association Amazonia-Piranha</span></p>
			       <p>&nbsp;</p>
			      <table style="width: 700px;" border="0" rules="none">
<tbody>
<tr>
<td><img src="http://i24.servimg.com/u/f24/15/34/63/91/forum_11.png" alt="" width="386" height="250" /></td>
<td>
<h1><strong>ATTENTION !</strong></h1>
<p>&nbsp;</p>
<p><strong>LE SITE EST ACTUELLEMENT </strong><strong>EN CONSTRUCTION <br /> désolé pour la gêne occasionné</strong></p>
<p><strong>LE FORUM RESTE DISPONNIBLE</strong></p>
<p><strong>ET FONTIONNELLE </strong></p>
<p>&nbsp;</p>
<p><strong>merci pour votre compréhension.</strong></p>
</td>
</tr>
<tr>
<td>
<p>the site is in building grieved for discomfort caused nowadays</p>
<p>the forum remains nonetheless available.</p>
<p>thank you for your understanding.</p>
<p>&nbsp;</p>
<p> </p>
<p>el sitio está actualmente en construcción estado para la molestia ocasionado</p>
<p>el foro queda a pesar de todo disponible.</p>
<p>gracias por su comprensión.</p>
<p>&nbsp;</p>
<p> </p>
<p>Il sito è attualmente in costruzione spiacenti per l'inconveniente</p>
<p>il forum è ancora disponibile.</p>
<p>Grazie per la vostra comprensione.</p>
</td>
<td><img src="http://www.beijaflor-br.com/images/piranha2.gif" alt="" width="80" height="80" align="right" /><br /></td>
</tr>
</tbody>
</table>
			    </div><div class="news_bas"></div>
 
 		      <!-- CADRE NEWS -->   
				 <div class="news_haut"></div>
				 <div class="news_fond">
			       <p><span class="titre">Contribuez a l'association amazonia-piranha  :</span></p>
			       <p>&nbsp;</p>
			       <p>Si vous le souhaitez vous pouvez soutenir notre association ainsi que notre forum en effectuant un don</p>
			       <p>et devenir vous-aussi un membre donateur de notre association.<br />
		           Tous vos dons serviront &agrave; financ&eacute; nos actions et de garantir la continuit&eacute; et la qualit&eacute; de ce forum.</p>
			       <p>=&gt; <a href="http://amazonia-piranha.pro-forum.fr/donate" name="bottom" id="bottom" rel="nofollow">Contribution</a></p>
<p>&nbsp;</p>
			       <p><embed src="http://jepose.org/minisites/sites/zanaxx-modele/librairie/flash/110601195724.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowscriptaccess="always" align="middle" height="74" width="600"></embed></p>
                </div><div class="news_bas"></div>
	       </div>
 		      <!-- Pied de page --> 
              <div id="pied"><br />
                   <div class="copyright">
                     <p><br /><span style="font-size: 9px;"><a>Amazonia-piranha</a> | ©</span></p>
             </div>
              </div>
</div><!-- Fin Contenu -->
</div>
<!-- Fin Conteneur Global -->
</body>
</html>
rhombeus est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/06/2011, 14h41   #6
Rédacteur/Modérateur
 
Avatar de andry.aime
 
Homme Andry Aimé
Inscription : septembre 2007
Messages : 5 128
Détails du profil
Informations personnelles :
Nom : Homme Andry Aimé
Localisation : Ile Maurice

Informations forums :
Inscription : septembre 2007
Messages : 5 128
Points : 7 270
Points : 7 270
Citation:
Envoyé par rhombeus Voir le message
vous vous comprenez ce que vous dites mais moi la je comprend rien du tout
Dans ce cas commence par lire un tutoriel AJAX, écrire une fonction qui va lancer la requête, et revenir en cas de problème

A+.
andry.aime est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/06/2011, 14h50   #7
Invité de passage
 
Homme
Webdesigner
Inscription : juin 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Webdesigner

Informations forums :
Inscription : juin 2011
Messages : 4
Points : 0
Points : 0
D'accord message reçu !
rhombeus est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 15h50.


 
 
 
 
Partenaires

Hébergement Web