很急的,谁能帮帮我!???? showModalDialog(“你的URL”,调入参数,“窗口大小风格”) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script language=javascript>function init(){ showModalDialog(“你的URL”,调入参数,“窗口大小风格”)}</script><html><body onload="init()">..........</body></html> 仅做参考,代码你可以自行修改。<script language="JavaScript"><!--function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt) { var posLeft,posTop; posLeft=(screen.width-imageWidth)/2; posTop=(screen.height-imageHeight)/2; newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop); newWindow.document.open(); newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">'); newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); newWindow.document.write('</body></html>'); newWindow.document.close(); newWindow.focus();}//--></script> linux下配置jdk JSP页面显示表格的颜色 请高手指点:Extjs中获得光标!非常感谢!! 在web.xml里配置errorpage,指定exception为java.lang.Exception,为啥有些exception还是不能显示正确的errorpage? showModalDialog传值相关问题 Hibernate如何更新自身的对象属性 请教时间显示结果问题 关于checkbox的问题,请教! springMVC的返回路径的问题~达人麻烦来解答下呢· 求帮忙qq远程配置jsp网站 怎样开发JSP的标签库 请教大家一个struts加载类的问题,紧!
function init(){
showModalDialog(“你的URL”,调入参数,“窗口大小风格”)
}
</script><html><body onload="init()">
..........
</body>
</html>
<!--
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt) {
var posLeft,posTop;
posLeft=(screen.width-imageWidth)/2;
posTop=(screen.height-imageHeight)/2;
newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
newWindow.document.open();
newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">');
newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>');
newWindow.document.write('</body></html>');
newWindow.document.close();
newWindow.focus();
}
//-->
</script>