用MYIE等多窗口浏览器进入后会弹出
是弹出一个新IE窗口来的,它的实现代码很简单
看
<script language="java script">
focusid=setTimeout("focus();window.showModelessDialog(tan.htm','','scroll:0;status:0;help:0;resizable:0;dialogWidth:0px;dialogHeight:0px')",0000)
</script>
然后在tan.htm这个页面放置这个代码:
<script language=java script>window.open('http://wangye8.com','114','resizable,menubar,scrollbars,dependent,location,toolbar,width=800,height=600');setTimeout('window.close();', 0);</script>
这样弹出的多页面窗口又自动关闭了,根本看不出来……
无边框对话框窗口可以在myie中弹出
<script Language="java script">
function 页面名称(WINwidth, WINheight) {
showx = event.screenX - event.offsetX - 4 - WINwidth ; // + deltaX;
showy = event.screenY - event.offsetY + 18; // + deltaY;
newWINwidth = WINwidth + 4 + 18;
var features =
'dialogWidth:' + newWINwidth + 'px;' +
'dialogHeight:' + WINheight + 'px;' +
'dialogLeft:' + showx + 'px;' +
'dialogTop:' + showy + 'px;' +
'directories:no; localtion:no; menubar:no; status=no; toolbar=no;scrollbars:no;Resizeable=no';
var endtarget = "弹出页面.htm";
// window.open(endtarget, '', '');
window.showModalDialog(endtarget, " ", features);
}
</script>
<input name="image" type=image onClick="页面名称(230, 35);return false;" src="../../代替按扭的图片.gif" alt="鼠标经过显示的文字" width="16" height="16" >
刚才看mop的
<script LANGUAGE="java script">
<!--
focusid=setTimeout("focus();window.showModelessDialog('http://xjtusky.net,'','scroll:0;status:0;help:0;resizable:0;dialogWidth:0px;dialogHeight:0px');window.focus();",3000)
//-->
</script>

sdq
BK网络学院主要内容:平面设计教程,网站开发在线教程,网页制作教程,服务器教程,网络编程,数据库教程等。