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
|
<html>
<head>
<title></title>
<script type="text/javascript">
<!--
var lien = new Array(false, false);
function ouvrePage(url, n)
{
window.open(url);
lien[n] = true;
if (lien[0] && lien[1])
document.getElementById("idFormulaire").style.display = "block";
}
//-->
</script>
</head>
<body>
<a href="javascript:ouvrePage('page1.html',0)">ouvre page 1</a>
<a href="javascript:ouvrePage('page2.html',1)">ouvre page 1</a>
<form name="" method="post" action="" enctype="" id="idFormulaire" style="display: none">
Remplissez ce formulaire :<br />
<input type="text" value="" />
<input type="submit" value="Envoyer" />
<input type="reset" value="Effacer" />
</form>
</body>
</html> |
Partager