PHP点击按钮弹出指定大小的页面 <input type="button" name="send" value="添加" onclick=""> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 js函数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 left用来定位,height width控制大小 刚少了个符号,,,但是对于有些标签式的,不一定能奏效window.open ("page.html", "newwindow", "height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no"); <input type="submit" name="submit" value="添加" onclick="<script>"window.open ('q.php', 'newwindow', height=100, width=400, top=50, left=100, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no')"</script>">没反应 <input type="button" name="send" value="添加" onclick="window.open ('page.html', 'newwindow', 'height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no');"> <input type="submit" name="submit" value="添加" onclick="javascript:window.open ('q.php', 'newwindow', height=100, width=400, top=50, left=100, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no');"> <html><script type="text/javascript">function open_win() { myWindow=window.open('','','width=200,height=100') myWindow.document.write("This is 'myWindow'") myWindow.focus()}</script><body><input type=button value="Open Window" onclick="open_win()" /></body></html>参看:http://www.w3school.com.cn/htmldom/met_win_open.asp 安裝了 支持繁簡體的phpbb3.05論壇怎麼調出英文辦塊? mysql如何实现中文的全文检索 我想把username输出出来可是试过上面的都不行???? 求Linux+nginx做负载的资料 .htaccess 的疑惑 php 正则表达式 引用变量 更节省内存? 发现csdn的bug,可让自己博客被屏蔽,但又能在论坛登陆,可按例测试,后果自负…… 求助PHP解密,哪位大神请帮助 ThinkPHP如何WebService调用接口 PHP 连接支付宝实现在线充值 为什么我的apache里面识别<?php ?>但是不识别<? >
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 left用来定位,height width控制大小
onclick="<script>"window.open ('q.php', 'newwindow', height=100, width=400, top=50, left=100, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no')"</script>">
没反应
onclick="window.open ('page.html', 'newwindow', 'height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no');">
onclick="javascript:window.open ('q.php', 'newwindow', height=100, width=400, top=50, left=100, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no');">
<html>
<script type="text/javascript">
function open_win() {
myWindow=window.open('','','width=200,height=100')
myWindow.document.write("This is 'myWindow'")
myWindow.focus()
}
</script>
<body>
<input type=button value="Open Window" onclick="open_win()" />
</body>
</html>参看:
http://www.w3school.com.cn/htmldom/met_win_open.asp