点击打开的窗口和特定的大小 [英] onclick open window and specific size
本文介绍了点击打开的窗口和特定的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这样的链接:
<a href="/index2.php?option=com_jumi&fileid=3&Itemid=11" onclick="window.open(this.href,'targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,')
我想要打开新的打开窗口的大小,如何指定高度和宽度?
I want the new opening window to open in a specific size. How do I specify the height and width?
推荐答案
<a href="/index2.php?option=com_jumi&fileid=3&Itemid=11"
onclick="window.open(this.href,'targetWindow',
'toolbar=no,
location=no,
status=no,
menubar=no,
scrollbars=yes,
resizable=yes,
width=SomeSize,
height=SomeSize');
return false;">Popup link</a>
像素。
这篇关于点击打开的窗口和特定的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文