







|
|
|
 |
| > Choix destination sur un menu |
[ Posté par Ben742 ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 12-10-2003 à 23:09 | 1 messages ]
  bonjour
voila j'ai telecharger un menu
avec un petit cadre et on choisit un truc
donc j'aurais voulu pour le lien moto quand on le choisit il s'ouvre dans une nouvelle fenetre mais que pour lui .....
je met le code
Merci
<html>
<head>
<!-- DEBUT DU SCRIPT -->
<SCRIPT LANGUAGE="JavaScript">
/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
function ChangeUrl(formulaire)
{
if (formulaire.ListeUrl.selectedIndex != 0)
{
window.parent.principal.location.href = formulaire.ListeUrl.options[formulaire.ListeUrl.selectedIndex].value;
}
else
{
alert('Choisir son epreuve.');
}
}
</SCRIPT>
<!-- FIN DU SCRIPT -->
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Photos Wrc</title>
<base target="principal">
</head>
<body bgcolor="#000000">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="64%" id="AutoNumber1" height="27">
<tr>
<td width="100%" align="center" height="27"><b>
<font color="#FFFFFF" face="BATAVIA" size="5">Photos </font></b></td>
</tr>
</table>
</center>
</div>
<FORM>
<p align="center">
<SELECT NAME="ListeUrl" SIZE=1 onChange="ChangeUrl(this.form)">
<OPTION VALUE="">-Choisir son epreuve-
<option value="http://.htm">Voiture</option>
<option value="http://.htm">Motos</option>
</SELECT> </p>
</FORM>
<!-- FIN DU SCRIPT --></p>
</body>
 
|
|
Services email :
  Vous devez vous identifier pour profiter des services par email du forum.
|

|