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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type='text/javascript'>
function PopupDocument(page,largeur,hauteur,options) {
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
window.addOption = function (name){
opt = document.getElementById('monselect').options;
pos = opt.length;
opt[pos] = new Option(name,name);
}
</script>
</head>
<body>
<form name="form1" method="get" action="">
<select name="monselect" id="monselect" size="1">
<option value="AAA">AAA</option>
<option value="BBB">BBB</option>
</select>
<input name="btn_type_objet" size="15" type="button" class="bouton_plus" onClick="PopupDocument('popup.htm',430,320,'menubar=no,scrollbars=no,statusbar=no')" value="+" >
</form>
</body>
</html> |
Partager