已成功在本站使用脚本添加独立窗口。它没有滚动条。我如何添加它们。脚本是:
<a href="#"
onClick="window.open(
'popup.php?message=<?php echo $Url; ?>',
'myWindow',
'status = 1, height = 350, width = 1022, resizable = 0'
)"
class="bstyle">
E
</a>
如果您能提供帮助将不胜感激。问候艾伦布朗
已成功在本站使用脚本添加独立窗口。它没有滚动条。我如何添加它们。脚本是:
<a href="#"
onClick="window.open(
'popup.php?message=<?php echo $Url; ?>',
'myWindow',
'status = 1, height = 350, width = 1022, resizable = 0'
)"
class="bstyle">
E
</a>
如果您能提供帮助将不胜感激。问候艾伦布朗
您需要添加scrollbars = 1
到的第三个参数window.open
:
<a href="#"
onClick="window.open(
'popup.php?message=<?php echo $Url; ?>',
'myWindow',
'status = 1, height = 350, width = 1022, resizable = 0, scrollbars = 1'
)"
class="bstyle">
E
</a>
Add scrollbars=1
in call
<a href="#"
onClick="window.open('popup.php?message=<?php echo $Url; ?>', 'myWindow', 'status=1,height=350,width=1022,resizable=0,scrollbars=1'
)" class="bstyle">E</a>