Bonjour le forum,
j'ai collé ici le code de ma page d'accueil, car j'ai un petit souci avec le menu déroulant qui est sympa, mais malheureusement je n'arrive pas à créer le lien qui permet d'ouvrir la page chosi dans l'iframe de la page d'accueil, a priori le code de ce menu est assez complexe et je n'arrive pas à finaliser la chose, et j'aimerai bien garder ce menu. 0 priori plusieurs lignes sont concernées mais je doit louper quelque chose pour affecter le lien correctement, merci à vous tous qui savez, bonne journée

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
364
365
<html>
 
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Accueil</title>
<script language="JavaScript">
i = 1;
 
function affiche(numero) {
  i = numero;
  img.src = i+'.jpg';
  text.value = i;
}
</script>
 
            <!-- Begin menu -->
            <link href="transmenuh.css" type="text/css" rel="stylesheet">
 
</head>
 
<body>
 
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="902" height="380">
  <tr>
    <td width="151" height="123" rowspan="2">
    <img border="0" src="images/150px-Logo_Fondation_Nicolas_Hulot.jpg" width="150" height="151"></td>
    <td width="749" height="148">&nbsp;</td>
  </tr>
  <tr>
    <td width="749" height="1">
    <table cellSpacing="0" cellPadding="0" width="100%" border="0">
      <tr>
        <td vAlign="baseline" align="left" height="10">
        <table class="moduletable" cellSpacing="0" cellPadding="0">
          <tr>
            <td>
            <script language="javascript" src="transmenu.js">
            </script>
            <div id="wrap">
              <div id="menu" style="width: 733; height: 26">
                <table cellSpacing="0" cellPadding="0" bgColor="#00FFFF" border="0" style="border-collapse: collapse" bordercolor="#111111">
                  <tr>
                    <td>
                    <a class="mainlevel_active-trans" id="menu1" href="">
                    Accueil</a></td>
                    <td>
                    <a class="mainlevel-trans" id="menu2" href="">
                    Mes Randonnées</a></td>
                    <td>
                    <a class="mainlevel-trans" id="menu52" href="">
                    Mes Promenades</a></td>
                    <td>
                    <a class="mainlevel-trans" id="menu9" href="">
                    Mes Villes</a></td>
                    <td>
                    <a class="mainlevel-trans" id="menu53" href="">
                    Mes Pays</a></td>
                    <td>
                    <a class="mainlevel-trans" id="menu62" href="">
                    Chaud la Planète</a></td>
                    <td>
                    <a class="mainlevel-trans" id="menu51" href="">
                    Contact</a></td>
                  </tr>
                </table>
              </div>
            </div>
            <script language="javascript">
			if (TransMenu.isSupported()) {
				TransMenu.updateImgPath('');
				var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);
				TransMenu.subpad_x = 1;
				TransMenu.subpad_y = 0;
 
 
				document.getElementById("menu1").onmouseover = function() {
					ms.hideCurrent();
				}
				var tmenu2 = ms.addMenu(document.getElementById("menu2"));
tmenu2.addItem("L'Oisans",);
tmenu2.addItem("La Chartreuse", "index.php?option=com_content&task=category&sectionid=1&id=1&Itemid=36", 0, 0);
tmenu2.addItem("Le Vercors", "index.php?option=com_content&task=category&sectionid=1&id=17&Itemid=37", 0, 0);
tmenu2.addItem("Belledonne", "index.php?option=com_content&task=category&sectionid=4&id=14&Itemid=40", 0, 0);
tmenu2.addItem(" ", "index.php?option=com_content&task=category&sectionid=1&id=15&Itemid=38", 0, 0);
tmenu2.addItem(" ", "index.php?option=com_content&task=category&sectionid=1&id=18&Itemid=39", 0, 0);
tmenu2.addItem(" ", "index.php?option=com_content&task=category&sectionid=1&id=30&Itemid=60", 0, 0);
 
var tmenu52 = ms.addMenu(document.getElementById("menu52"));
tmenu52.addItem("Vizille", "index.php?option=com_artlinks&Itemid=41", 0, 0);
tmenu52.addItem("Chamrousse", "index.php?option=com_zoom&Itemid=59", 0, 0);
tmenu52.addItem("Parc de la tête d'Or", "index.php?option=com_ponygallery&Itemid=67", 0, 0);
tmenu52.addItem("La Pierre Percée", "index.php?option=com_ponygallery&Itemid=67", 0, 0);
tmenu52.addItem("La Grotte des Cuves", "index.php?option=com_ponygallery&Itemid=67", 0, 0);
 
var tmenu9 = ms.addMenu(document.getElementById("menu9"));
tmenu9.addItem("Chartres", "index.php?option=com_content&task=category&sectionid=2&id=19&Itemid=35", 0, 0);
tmenu9.addItem("Marseille", "index.php?option=com_content&task=category&sectionid=2&id=19&Itemid=35", 0, 0);
 
 
var tmenu53 = ms.addMenu(document.getElementById("menu53"));
tmenu53.addItem("Maroc", "http://www.moramora.fr/v6/smf", 1, 0);
tmenu53.addItem("Cuba", "index.php?option=com_rwcards&Itemid=27", 0, 0);
tmenu53.addItem("Madagascar", "index.php?option=com_rwcards&Itemid=27", 0, 0);
tmenu53.addItem("Espagne", "index.php?option=com_rwcards&Itemid=27", 0, 0);
tmenu53.addItem("Suisse", "index.php?option=com_rwcards&Itemid=27", 0, 0);
tmenu53.addItem("Italie", "index.php?option=com_rwcards&Itemid=27", 0, 0);
tmenu53.addItem("Belgique", "index.php?option=com_rwcards&Itemid=27", 0, 0);
 
 
var tmenu62 = ms.addMenu(document.getElementById("menu62"));
tmenu62.addItem("Fondation Nicolas Hulot", "index.php?option=com_search&Itemid=5", 0, 0);
tmenu62.addItem("Live Earth", "index.php?option=com_addict&Itemid=63", 0, 0);
tmenu62.addItem("", "index.php?option=com_catalog&Itemid=64", 0, 0);
 
var tmenu51 = ms.addMenu(document.getElementById("menu51"));
tmenu51.addItem("Me contacter", "index.php?option=com_contact&Itemid=3", 0, 0);
tmenu51.addItem("Livre d'or", "index.php?option=com_akobook&Itemid=43", 0, 0);
 
				TransMenu.renderAll();
			}
			init1=function(){TransMenu.initialize();}
			if (window.attachEvent) {
				window.attachEvent("onload", init1);
			}else{
				TransMenu.initialize();			
			}
			</script>
            <div class="transMenu top" id="TransMenu0" style="z-index: 111; left: 431px; visibility: hidden; width: 178px; top: 131px; height: 139px">
              <div class="content" style="width: 176px; top: -137px; height: 137px">
                <table class="items" cellSpacing="0" cellPadding="0" border="0">
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                  <tr class="item" _index="0">
                    <td style="padding: 3px" noWrap><a target="iframe_de_base" href="oisans/oisans_accueil.htm">L'Oisans</a></td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="1">
                    <td style="padding: 3px" noWrap><a href="oisans/oisans_accueil.htm" target="iframe_de_base">La chartreuse</a></td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="2">
                    <td style="padding: 3px" noWrap>Le Vercors</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="3">
                    <td style="padding: 3px" noWrap>Belledonne</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="4">
                    <td style="padding: 3px" noWrap>""</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="5">
                    <td style="padding: 3px" noWrap>""</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="6">
                    <td style="padding: 3px" noWrap>""</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                </table>
                <div class="shadowBottom" style="width: 171px; top: 135px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="shadowRight" style="left: 174px; height: 134px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="background" style="width: 174px; height: 135px; background-color: #f5f6f8">
                  <img src="x.gif" width="1" height="1"></div>
              </div>
            </div>
            <div class="transMenu top" id="TransMenu1" style="z-index: 115; left: 570px; visibility: hidden; width: 145px; top: 131px; height: 63px">
              <div class="content" style="width: 143px; top: -61px; height: 61px">
                <table class="items" cellSpacing="0" cellPadding="0" border="0">
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                  <tr class="item" _index="0">
                    <td style="padding: 3px" noWrap>Vizille</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="1">
                    <td style="padding: 3px" noWrap>Chamrousse</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="2">
                    <td style="padding: 3px" noWrap>Parc de la tête d'or</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="3">
                    <td style="padding: 3px" noWrap>La Pierre Percée</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
					 <tr class="item" _index="4">
                    <td style="padding: 3px" noWrap>La Grotte des Cuves</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
 
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                </table>
                <div class="shadowBottom" style="width: 138px; top: 59px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="shadowRight" style="left: 141px; height: 58px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="background" style="width: 141px; height: 59px; background-color: #f5f6f8">
                  <img src="x.gif" width="1" height="1"></div>
              </div>
            </div>
            <div class="transMenu top" id="TransMenu2" style="z-index: 114; left: 706px; visibility: hidden; width: 169px; top: 131px; height: 25px">
              <div class="content" style="width: 167px; top: -23px; height: 23px">
                <table class="items" cellSpacing="0" cellPadding="0" border="0">
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                  <tr class="item" _index="0">
                    <td style="padding: 3px" noWrap>Chartres</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="1">
                    <td style="padding: 3px" noWrap>Marseille</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                </table>
                <div class="shadowBottom" style="width: 162px; top: 21px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="shadowRight" style="left: 165px; height: 20px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="background" style="width: 165px; height: 21px; background-color: #f5f6f8">
                  <img src="x.gif" width="1" height="1"></div>
              </div>
            </div>
            <div class="transMenu top" id="TransMenu3" style="z-index: 113; left: 804px; visibility: hidden; width: 134px; top: 131px; height: 44px">
              <div class="content" style="width: 132px; top: -42px; height: 42px">
                <table class="items" cellSpacing="0" cellPadding="0" border="0">
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                  <tr class="item" _index="0">
                    <td style="padding: 3px" noWrap>Maroc</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="1">
                    <td style="padding: 3px" noWrap>Cuba</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="2">
                    <td style="padding: 3px" noWrap>Madagascar</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
					 <tr class="item" _index="3">
                    <td style="padding: 3px" noWrap>Espagne</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
					 <tr class="item" _index="4">
                    <td style="padding: 3px" noWrap>Suisse</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
					 <tr class="item" _index="5">
                    <td style="padding: 3px" noWrap>Italie</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
					 <tr class="item" _index="6">
                    <td style="padding: 3px" noWrap>Belgique</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
 
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                </table>
                <div class="shadowBottom" style="width: 127px; top: 40px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="shadowRight" style="left: 130px; height: 39px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="background" style="width: 130px; height: 40px; background-color: #f5f6f8">
                  <img src="x.gif" width="1" height="1"></div>
              </div>
            </div>
            <div class="transMenu top" id="TransMenu4" style="z-index: 107; left: 928px; visibility: hidden; width: 144px; top: 131px; height: 63px">
              <div class="content" style="width: 142px; top: -61px; height: 61px">
                <table class="items" cellSpacing="0" cellPadding="0" border="0">
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                  <tr class="item" _index="0">
                    <td style="padding: 3px" noWrap>Fondation Nicola Hulot</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="1">
                    <td style="padding: 3px" noWrap>Live Earth</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr class="item" _index="2">
                    <td style="padding: 3px" noWrap>""</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="x.gif" width="10"></td>
                  </tr>
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                </table>
                <div class="shadowBottom" style="width: 137px; top: 59px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="shadowRight" style="left: 140px; height: 58px; background-color: #888">
                  <img src="x.gif" width="1" height="1"></div>
                <div class="background" style="width: 140px; height: 59px; background-color: #f5f6f8">
                  <img src="x.gif" width="1" height="1"></div>
              </div>
            </div>
            <div class="transMenu top" id="TransMenu5" style="z-index: 112; left: 1009px; visibility: hidden; width: 116px; top: 131px; height: 44px">
              <div class="content" style="width: 114px; top: -42px; height: 42px">
                <table class="items" cellSpacing="0" cellPadding="0" border="0">
                  <tr>
                    <td colSpan="2">
                    <img height="0" src="x.gif" width="1"></td>
                  </tr>
                  <tr class="item" _index="0">
                    <td style="padding: 3px" noWrap>Me Contacter</td>
                    <td style="padding: 3px" width="10">
                    <img height="7" src="" width="10"></td>
                  </tr>
                  <tr class="item" _index="1">
                    <td style="padding: 3px" noWrap>Livre d'or</td>