- <html>
- <head>
- <title>Rechercher ...</title>
-
- <script LANGUAGE="JavaScript">
-
- /*///////////////////////////////////////////////// script de Vincent GIERSCH \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- vincent@giersch.fr.st
- ************************************************* http://www.harrypotter.be.cx **************************************************************************
- *************************************************** http://www.forum-harrypotter.be.cx ************************************************************************
- *******************************************************************************************************************************************************************
- *******************************************************************************************************************************************************************
- *************************************************** copyright 2006 by Vincent GIERSCH *****************************************************************************
- */
-
-
- lien = new Array();
- function Menus(titre,url) {
- this.titre = titre;
- this.cible = url;
- }
- lien[0] = new Menus("Google","http://www.google.fr");
- lien[1] = new Menus("Yahoo!","http://www.yahoo.fr");
- lien[2] = new Menus("Yahoo!","http://fr.yahoo.com");
- lien[3] = new Menus("All The Web","http://www.alltheweb.com");
- lien[4] = new Menus("Nomade","http://www.nomade.fr");
- lien[4] = new Menus("Harry Potter","http://www.harrypotter.be.cx");
-
- function GoMenu() {
- Choix = document.MENU.MenuListe.selectedIndex;
- window.location.href = lien[Choix].cible;
- }
-
- function Menu() {
- document.write('<FORM NAME="MENU">');
- document.write('<SELECT NAME="MenuListe">');
- document.write('<OPTION VALUE="0" SELECTED>' + lien[0].titre);
- for (i = 1; i < lien.length; i++) {
- document.write('<OPTION VALUE="' + i + '">' + lien[i].titre);
- }
- document.write('</SELECT>');
- document.write('<INPUT TYPE="BUTTON" VALUE="Go" onClick="GoMenu();">');
- document.write('</FORM>');
-
- }
- </script>
- <body>
- Sélectionnez un moteur de recherche<br>
- <script LANGUAGE="JavaScript">
- Menu();
- </script>
- </body>
- </html>
<html>
<head>
<title>Rechercher ...</title>
<script LANGUAGE="JavaScript">
/*///////////////////////////////////////////////// script de Vincent GIERSCH \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
vincent@giersch.fr.st
************************************************* http://www.harrypotter.be.cx **************************************************************************
*************************************************** http://www.forum-harrypotter.be.cx ************************************************************************
*******************************************************************************************************************************************************************
*******************************************************************************************************************************************************************
*************************************************** copyright 2006 by Vincent GIERSCH *****************************************************************************
*/
lien = new Array();
function Menus(titre,url) {
this.titre = titre;
this.cible = url;
}
lien[0] = new Menus("Google","http://www.google.fr");
lien[1] = new Menus("Yahoo!","http://www.yahoo.fr");
lien[2] = new Menus("Yahoo!","http://fr.yahoo.com");
lien[3] = new Menus("All The Web","http://www.alltheweb.com");
lien[4] = new Menus("Nomade","http://www.nomade.fr");
lien[4] = new Menus("Harry Potter","http://www.harrypotter.be.cx");
function GoMenu() {
Choix = document.MENU.MenuListe.selectedIndex;
window.location.href = lien[Choix].cible;
}
function Menu() {
document.write('<FORM NAME="MENU">');
document.write('<SELECT NAME="MenuListe">');
document.write('<OPTION VALUE="0" SELECTED>' + lien[0].titre);
for (i = 1; i < lien.length; i++) {
document.write('<OPTION VALUE="' + i + '">' + lien[i].titre);
}
document.write('</SELECT>');
document.write('<INPUT TYPE="BUTTON" VALUE="Go" onClick="GoMenu();">');
document.write('</FORM>');
}
</script>
<body>
Sélectionnez un moteur de recherche<br>
<script LANGUAGE="JavaScript">
Menu();
</script>
</body>
</html>