dimka62 Posted May 6, 2009 Report Share Posted May 6, 2009 Tātad es dabūju javascript kodu kurš atver noteiktu lapu uzspiežot uz pogas, bet kā lai es viņu pārveidoju lai viņs atver noteikta izmēra logu piem. 400x350 Kods <html> <head> <script type="text/javascript"> function open_win() { window.open("http://adrese"); } </script> </head> <body> <form> <input type=button value="Open Window" onclick="open_win()"> </form> </body> </html> Link to comment Share on other sites More sharing options...
dimka62 Posted May 6, 2009 Author Report Share Posted May 6, 2009 Sry vairs tomēr nevajag, atradu ko man vajag var taisīt ciet. Ja kādam vajag tad kods ir šāds <html> <head> <script type="text/javascript"> function open_win() { window.open("http://adrese","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=350"); } </script> </head> <body> <form> <input type="button" value="Open Window" onclick="open_win()"> </form> </body> </html> Link to comment Share on other sites More sharing options...
Recommended Posts