Onefive
Freddy Tougaux
Voila j aimerai savoir commencer fair pour quand je clique sur le lien du menu deroulant j accede a une page
Voila simple pour vous mais dur dur pour moi :?
Voila simple pour vous mais dur dur pour moi :?
// JavaScript Document
<!-- Original: Alex Tu <boudha1@hotmail.com> -->
<!-- Web Site: http://www.geocities.com/alex_2106 -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
<SCRIPT LANGUAGE="JavaScript" SRC="javascript/menuhandler.js"></SCRIPT>
<form name="form">
<table>
<tr>
<td></td>
<td>
<select name="site">
<option value="page1.html">Page 1
<option value="page2.html">Page 2
<option value="page3.html">Page 3
...
</select>
</td>
<td width=50 align="center">
<input type=button value="Go!" onClick="javascript:formHandler(this)">
</td>
</tr>
</table>
</form>