window.open()方法
来源:互联网 发布:局域网网络测速工具 编辑:程序博客网 时间:2024/05/29 00:34
Response.Write("<script language=javascript>window.open ('Login.aspx', 'newwindow', 'height=150, width=300, top=540, left=710, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');</script>");
function aclick(){window.open('Personal/NoteMessage.htm');}
var oPopup = window.createPopup();var oPopupBody = oPopup.document.body;oPopupBody.innerHTML = '<a href=Personal/NoteMessage.htm target=_blank>您有一条新消息请注意查收!</a>';oPopup.document.body.style.cssText='background-color:green;FONT-SIZE: 10pt';oPopup.show(540, 710, 250, 40, document.body);
<SCRIPT>
var oPopup = window.createPopup();
var popTop=50;
function popmsg(msgstr){
var winstr="<table style=/"border: 1 solid #FFA6CA/" width=/"241/" height=/"172/" border=/"0/" cellpadding=/"0/" cellspacing=/"0/" background=/"http://www.blueidea.com/articleimg/2004/01/1576/04-s.jpg/" >";
winstr+="<tr><td height=/"30/"> </td></tr><tr><td align=/"center/"><table width=/"90%/" height=/"110/" border=/"0/" cellpadding=/"0/" cellspacing=/"0/">";
winstr+="<tr><td valign=/"top/" style=/"font-size:12px; color: red; face: Tahoma/">"+msgstr+"</td></tr></table></td></tr></table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
function popshow(){
window.status=popTop;
if(popTop>1720){
clearTimeout(mytime);
oPopup.hide();
return;
}else if(popTop>1520&&popTop<1720){
oPopup.show(screen.width-250,screen.height,241,1720-popTop);
}else if(popTop>1500&&popTop<1520){
oPopup.show(screen.width-250,screen.height+(popTop-1720),241,172);
}else if(popTop<180){
oPopup.show(screen.width-250,screen.height,241,popTop);
}else if(popTop<220){
oPopup.show(screen.width-250,screen.height-popTop,241,172);
}
popTop+=10;
var mytime=setTimeout("popshow();",50);
}
popmsg(" <img border=/"0/" src=/"http://www.blueidea.com/img/common/logo.gif/" width=/"90/" height=/"27/">欢迎光临蓝色理想,大量的设计资源等着你!有什么问题可以到经典论坛提出。");
</SCRIPT>
- window.open() 方法
- window.open()方法
- [javascript]window.open 方法
- window open方法
- window.open方法说明
- window.open() 方法
- 11. Window open() 方法
- JavaScript - window.open 方法
- Window.open()方法
- JS window.open()方法
- window.open()代替window.showModalDialog()的方法
- window.open()方法使用小结
- window.open()方法使用小结
- window.open()方法参数详解
- HTML DOM window.open() 方法
- JS window.open()方法详解
- window open 弹出窗口方法
- javascript window.open()方法小结
- .net 中使用NAnt构建入门
- TextBox 的边框和滚动条如何不显示
- Web 服务编程技巧及窍门: 改善 J2EE 与 .NET 之间的互操作性,第 2 部分
- 醉酒后...
- linux下使用date命令设置时间
- window.open()方法
- 大型网站的优化策略
- Apache SOAP 类型映射,第 1 部分: 深入研究 Apache 的序列化 API
- 开始搭建CSDN个人空间的第一天
- 加个属性让div成纵向横向无缝滚动(支持IE和FF)
- shell 使用技巧
- AJAX
- 常用正则表达式
- Cookies简单使用