点击弹出窗口后网页置顶

来源:百度知道 编辑:UC知道 时间:2024/05/08 01:03:55
大家看看这个网页点击产品查询列表产品后弹出窗口,但是网页却置顶。这是什么原因如何用代码解决。http://www.sinochemshenzhen.com/cn/productlist.asp

<script language="javascript">
<!--
function newwin(id)
{
window.open ('productdetail.asp?id='+id, '', 'height=240, width=420, top=300,left=350, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')
}
-->
</script>

这是那个网站的代码window.open里面的参数设置一下就可以了,如果需要显示工具条等把相应的no改为yes就可以了~~