求助。如何在js里打开指定窗口大小
问题如下,
我要在首页里调用js
然后要在JS 里指定打开窗口的大小。
我现在的js文件如下
document.writeln( " <li class=\ "W8 L\ "> ");
document.writeln( " <span class=\ "rl lt l_z_o\ "> ");
document.writeln( " <td width=40 > <label> <input name=id type=\ "checkbox\ " class=\ "checked\ " id=\ "id\ " value=\ "109276\ "> <\/label> <a href=\ "MusicPlay\/3742\/ylmv_109276.html\ " target=\ "Ylmv\ " title=\ "杨伟汉 - 爱那么简单\ "> 爱那么简单 <\/a> <\/td> ");
document.writeln( " <\/span> ");
document.writeln( " ");
document.writeln( " <LI class=\ "W R oC\ "> <td width=20 > <a href=\ "MusicPlay/3742/ylmv_109276.html\ " target=\ "Ylmv\ "> 试听 <\/a> <td width=20 > <a href= "# " onClick=/ "window.open( 'http://code.5k3g.com\/NewSend2\/sendring_4.aspx?songname=爱那么简单&uid=10562\ ', '_blank ', 'width=350,height=350,scrollbars=no ') "> 铃声 <\/a> <\/td> <\/li> ");
document.writeln( " ");
document.writeln( " <\/a> <\/span> ");
document.writeln( " <\/li> ");
但是在首页显示不出来。
一片空白。请高手指教.
------解决方案-------------------- <a href=\ "#\ " onClick=\ "window.open( 'http:\/\/code.5k3g.com\/NewSend2\/sendring_4.aspx?songname=爱那么简单&uid=10562 ', '_blank ', 'width=350,height=350,scrollbars=no ')\ "> 铃声 <\/a> <\/td> <\/li> ");