在JSP静态页面中 怎样实现点击按钮(图片)弹出新窗口?
1个回答
展开全部
既然都JSP写网页了,你还问这种问题
<script language="JavaScript">
function WinOpen() {
mesg=open("cnrose","DisplayWindow","toolbar=no,,menubar=no,location=no,scrollbars=no");
mesg.document.write("<HEAD><TITLE>新页面</TITLE></HEAD>");
mesg.document.write("<CENTER>www.****.com/red/</CENTER>");
}
</script>
<script language="JavaScript">
function WinOpen() {
mesg=open("cnrose","DisplayWindow","toolbar=no,,menubar=no,location=no,scrollbars=no");
mesg.document.write("<HEAD><TITLE>新页面</TITLE></HEAD>");
mesg.document.write("<CENTER>www.****.com/red/</CENTER>");
}
</script>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询