- <!--
- Ce script est fait à la base pour une liste de pays
- This script is made for showing a country list
- -->
- <html>
-
- <head>
- <title>Menu déroulant avec popup</title>
- <script language ="JavaScript" >
- function openNewWindow()
- {
- var index = document.countriesForm.countriesChoiceSelect.selectedIndex;
- if( index > 1 ) {
- window.open( document.countriesForm.countriesChoiceSelect.options[index].value );
- }
- }
- var whitespace = " \t\n\r";
- </script>
- </head>
-
- <body>
- <div align="center">
-
- <form name="countriesForm" action="/CatalogAction.do" method="post">
- <select name="countriesChoiceSelect" onChange="openNewWindow()" class="head">
- <option selected>Sites</option>
- <option>----------------</option>
- <option value="http://www.site1.com">Site 1</option>
- <option value="http://www.site2.com">Site 2</option>
- </select>
- </form>
-
- </body>
- </html>
<!--
Ce script est fait à la base pour une liste de pays
This script is made for showing a country list
-->
<html>
<head>
<title>Menu déroulant avec popup</title>
<script language ="JavaScript" >
function openNewWindow()
{
var index = document.countriesForm.countriesChoiceSelect.selectedIndex;
if( index > 1 ) {
window.open( document.countriesForm.countriesChoiceSelect.options[index].value );
}
}
var whitespace = " \t\n\r";
</script>
</head>
<body>
<div align="center">
<form name="countriesForm" action="/CatalogAction.do" method="post">
<select name="countriesChoiceSelect" onChange="openNewWindow()" class="head">
<option selected>Sites</option>
<option>----------------</option>
<option value="http://www.site1.com">Site 1</option>
<option value="http://www.site2.com">Site 2</option>
</select>
</form>
</body>
</html>