1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
<html>
<title></title>
<head>
<script type="text/javascript" >
// valeur par défaut
var jourMod="lundi", heureMod="00h00";
function modJour(mod)
{
jourMod = mod[mod.selectedIndex].value;
}
function modHeure(mod)
{
heureMod = mod[mod.selectedIndex].value;
}
function modifier(mod)
{
window.open("p_admin.php?jourmod="+jourMod+"&heuremod="+heureMod ,"","width=950px heigth=950px resizable=yes scrollbars=yes menubar=yes status=yes ");
window.opener.close();
self.close();
}
</script>
</head>
<body>
<p>MODIFICATION DE LA BALISE </p>
<form name="mod">
jour :
<select name="jourmod" onChange="modJour(this)">
<option value="lundi">lundi </option>
<option value="mardi">mardi </option>
<option value="mercredi">mercredi </option>
<option value="jeudi">jeudi </option>
<option value="vendredi">vendredi </option>
</select>
<p>heure :
<select name="heuremod" onchange="modHeure(this)">
<option value="00h00">00h00</option>
<option value="01h00">01h00</option>
<option value="02h00">02h00</option>
</select>
</p>
</form>
<input type="button" value="modifier" onclick="modifier(mod)" />
</body>
</html> |