- <html>
-
- <head>
- <title>Liens directs</title>
- <script LANGUAGE="JavaScript">
- <!--
- nbmenu = 6;
- champs = new Array(nbmenu);
- haveFrames = false;
-
- // Vous donnez le nom du menu, le lien associé et la fenêtre de destination
- function LesMenus(titre,cible,target) {
- this.titre = titre;
- this.cible = cible;
- this.target = target;
- }
-
- // Définition des menus
- champs[0] = new LesMenus("thelombric","http://www.thelombric.fr.st","corps");
- champs[1] = new LesMenus("gdnweb","http://www.gdnweb.fr.st","corps");
- champs[2] = new LesMenus("doudou.d-abord.net","http://www.doudou.d-abord.net","corps");
- champs[3] = new LesMenus("surfexPlorer","http://www.surfexplorer.fr.st","corps");
- champs[4] = new LesMenus("yadetouzici","http://www.yadetouzici.fr.st","corps");
- champs[5] = new LesMenus("worldgamecenter","http://www.worldgamecenter","corps");
-
- function GoMenu() {
- Choix = document.MENU.MenuList.selectedIndex;
- if (haveFrames)
- parent.frames[champs[Choix].target].location.href = champs[Choix].cible;
- else
- window.location.href = champs[Choix].cible;
- }
-
- function Menu() {
- haveFrames = (parent.frames.length > 0);
- document.write('<FORM NAME="MENU">');
- document.write(' <SELECT NAME="MenuList">');
- document.write('<OPTION VALUE="0" SELECTED>' + champs[0].titre);
- for (var x = 1; x < nbmenu; x++)
- document.write('<OPTION VALUE="' + x + '">' + champs[x].titre);
- document.write('</SELECT>');
- document.write(' <INPUT TYPE="BUTTON" VALUE="Go" onClick="GoMenu();">');
- document.write('</FORM>');
- }
- //-->
- </script>
- </head>
-
- <body>
-
- <p><br>
- <br>
- <br>
- <script LANGUAGE="JavaScript">
- Menu();
- </script></p>
- </body>
- </html>
<html>
<head>
<title>Liens directs</title>
<script LANGUAGE="JavaScript">
<!--
nbmenu = 6;
champs = new Array(nbmenu);
haveFrames = false;
// Vous donnez le nom du menu, le lien associé et la fenêtre de destination
function LesMenus(titre,cible,target) {
this.titre = titre;
this.cible = cible;
this.target = target;
}
// Définition des menus
champs[0] = new LesMenus("thelombric","http://www.thelombric.fr.st","corps");
champs[1] = new LesMenus("gdnweb","http://www.gdnweb.fr.st","corps");
champs[2] = new LesMenus("doudou.d-abord.net","http://www.doudou.d-abord.net","corps");
champs[3] = new LesMenus("surfexPlorer","http://www.surfexplorer.fr.st","corps");
champs[4] = new LesMenus("yadetouzici","http://www.yadetouzici.fr.st","corps");
champs[5] = new LesMenus("worldgamecenter","http://www.worldgamecenter","corps");
function GoMenu() {
Choix = document.MENU.MenuList.selectedIndex;
if (haveFrames)
parent.frames[champs[Choix].target].location.href = champs[Choix].cible;
else
window.location.href = champs[Choix].cible;
}
function Menu() {
haveFrames = (parent.frames.length > 0);
document.write('<FORM NAME="MENU">');
document.write(' <SELECT NAME="MenuList">');
document.write('<OPTION VALUE="0" SELECTED>' + champs[0].titre);
for (var x = 1; x < nbmenu; x++)
document.write('<OPTION VALUE="' + x + '">' + champs[x].titre);
document.write('</SELECT>');
document.write(' <INPUT TYPE="BUTTON" VALUE="Go" onClick="GoMenu();">');
document.write('</FORM>');
}
//-->
</script>
</head>
<body>
<p><br>
<br>
<br>
<script LANGUAGE="JavaScript">
Menu();
</script></p>
</body>
</html>