| snooper |
fly LM a écrit a écrit :
Losque tu l'ouvres !!!
exemple :
window.open('ton_url_a_afficher', 'nomfenetre', 'toolbar=yes,location=yes,status=yes,menubar =yes,scrollbars=yes,resizable=yes,width=500,height =500')
OK ??
|
je doit etre trop nul mais ca marche pas
erreur sur la page
page test.html :
<html>
<head>
<title>test</title>
<script language="javascript">
<!--
function test()
{
window.open("test1.html", "essai", "toolbar=no, location=no, directories=no, status=yes, scrollbars=yes, resizable=no, copyhistory=no, width=300, height=400, left=300, top=50" );
}
//-->
</script> </head>
<body>
<a href="#" OnClick="test()">Cliquez ici</a>
<br>blabla<br>
</body>
</html>
Sur mon pop-up test1.html :
<html>
<head>
<title>test1</title>
</head>
<body>
<br>blabla<br>
<form>
<input type="button" value="Fermer !!" onclick="essai.close()">
</form>
</body>
</html> |