JS中,window.open方法的第二个参数,可以控制新打开网页的各项参数。
例:
window.open ('page.html', 'newwindow', 'height=100, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no') ;
其中top=0,left=0代表新打开网页距离屏幕上方和左边的像素。
_blank>你的标题
直接插入你想插入的地方
就可以了
JS中,window.open方法的第二个参数,可以控制新打开网页的各项参数。
例:
window.open ('page.html', 'newwindow', 'height=100, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no') ;
其中top=0,left=0代表新打开网页距离屏幕上方和左边的像素。
还有问题可以HI我~