摘要:
JavaScript基础知识 阅读全文
posted @ 2007-07-05 11:09 小鱼儿 阅读(319) 评论(1) 推荐(0) 编辑
|
|||
摘要:
弹窗代码汇总
超完美弹窗代码
功能:5小时弹一次+背后弹出+自动适应不同分辩率+准全屏显示
代码:
function openwin(){
window.open(http://www.6882.com,"pop1","width="+(window.screen.width-15)+",height="+(window.screen.height-170)+",left=0,top=0,toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,location=yes,status=yes")
setTimeout("focus();",5);
}
function get_cookie(Name) {
var search = Name + "="
var return&#118alue = "";
if (documents&#46cookie.length 0) {
阅读全文
posted @ 2007-07-05 11:01 小鱼儿 阅读(921) 评论(0) 推荐(0) 编辑 |
|||