Pouvez me dire comment ouvrir une popup atomatique kan t'on ouvre une page et non un lien !!!
please c'est urgent
| CODE |
| alue="Ouvrir ( popup )" onLoad="ouvrir();" |
| CODE |
| <head> <script language="javascript"> function ouvrir(){ window.open("tapage.html","nom_de_page","height:400;width:300"); } </script> </head> <body onload="ouvrir()"> |
| CODE |
| <SCRIPT language="Javascript" type="text/javascript"> function ouvrir() { var l = 200; var h = 200; var url = "pub/lapub.html"; var fen = window.open(url, "site", "toolbar=0,location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, top=1, left=1, width="+l+", height="+h); } </SCRIPT> <body onLoad="ouvrir();"> |
| CODE |
| <SCRIPT language="Javascript" type="text/javascript"> function ouvrir2() { var l = 600; var h = 150; var url = "pub/lapub2.html"; var fen = window.open(url, "site", "toolbar=0,location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, top=1, left=1, width="+l+", height="+h); } </SCRIPT> <body onLoad="ouvrir2();"> |
| CODE |
| open("ta_page.html","nom_de_la_fenetre","height:300,width:400,toolbar=0") |
| CODE |
<SCRIPT language="Javascript" type="text/javascript"> var l = 600; var h = 150; var url = "pub/lapub2.html"; var fen = window.open(url, "site", "toolbar=0,location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, top=1, left=1, width="+l+", height="+h); </SCRIPT> <body> |