爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
当前网页中打开新窗口效果
当前网页中打开新窗口效果
日期:2014-05-18 浏览次数:20097 次
以下是程序代码
<a href="<#ZC_BLOG_HOST#>">站长特效网</a>,站长必备的高质量网页特效和广告代码。zzjs.net,站长js特效。<hr> <!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,zzjs@msn.com,用.net打造靓站--> <script> var dragapproved=false var minrestore=0 var initialwidth,initialheight var ie5=document.all&&document.getElementById var ns6=document.getElementById&&!document.all //欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 function drag_drop(e){ if (ie5&&dragapproved&&event.button==1){ document.getElementById("dwindow").style.left=tempx+event.clientX-offsetx document.getElementById("dwindow").style.top=tempy+event.clientY-offsety }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 else if (ns6&&dragapproved){ document.getElementById("dwindow").style.left=tempx+e.clientX-offsetx document.getElementById("dwindow").style.top=tempy+e.clientY-offsety } } function initializedrag(e){ offsetx=ie5? event.clientX : e.clientX offsety=ie5? event.clientY : e.clientY if (ie5) document.getElementById("saver").style.display='' tempx=parseInt(document.getElementById("dwindow").style.left) tempy=parseInt(document.getElementById("dwindow").style.top) dragapproved=true document.onmousemove=drag_drop }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 function loadwindow(url,width,height){ if (!ie5&&!ns6) window.open(url,"","width=width,height=height,scrollbars=1") else{ document.getElementById("dwindow").style.display='' document.getElementById("dwindow").style.width=initialwidth=width document.getElementById("dwindow").style.height=initialheight=height document.getElementById("dwindow").style.left=30 document.getElementById("dwindow").style.top=ns6? window.pageYOffset*1+30 : document.body.scrollTop*1+30 document.getElementById("cframe").src=url } } function maximize(){ if (minrestore==0){ minrestore=1 //maximize window document.getElementById("maxname").setAttribute("src","/img/plusbottom.gif") document.getElementById("dwindow").style.width=ns6? window.innerWidth-20 : document.body.clientWidth document.getElementById("dwindow").style.height=ns6? window.innerHeight-20 : document.body.clientHeight } else{ minrestore=0 //restore window document.getElementById("maxname").setAttribute("src","/img/off.gif") document.getElementById("dwindow").style.width=initialwidth document.getElementById("dwindow").style.height=initialheight } document.getElementById("dwindow").style.left=ns6? window.pageXOffset : document.body.scrollLeft document.getElementById("dwindow").style.top=ns6? window.pageYOffset : document.body.scrollTop } function closeit(){ document.getElementById("dwindow").style.display="none" }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 if (ie5||ns6) document.onmouseup=new Function("dragapproved=false;document.onmousemove=null;document.getElementById('saver').style.display='none'") </script> <div id="dwindow" style="position:absolute;background-color:navy;cursor:hand;left:0;top:0;display:none" onMousedown="initializedrag(event)" onSelectStart="return false"> <div align="right"><img src="/img/plusbottom.gif" id="maxname" onClick="maximize()" onclick="javascript:window.open(this.src);" style="cursor:pointer;" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/><img src="/img/off.gif" onClick="closeit()" onclick="javascript:window.open(this.src);" style="cursor:pointer;" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></div> <iframe id="cframe" src="" width=100% height=100%></iframe> <div id="saver" style="width:100%;height:100%;position:absolute;left:0;top:0;display
上一篇:狡猾的按钮特效
下一篇:功能强大的菜单生成器
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
微博启动自媒体计划 粉丝+收入双激励是亮点
用友软件股价逆势下跌 再融资方案现曙光
百度透露无人驾驶战略 研发三维交通地图
优酷土豆携手新浪微博 谋攻移动视频失地
摩托罗拉移动裁员关闭德州Moto X手机工厂
百度吴恩达:图像和音视频搜索是人工智能新方向
传运营商高层将变化 专家称需体制革新
湘鄂情剥离餐饮业务进军大数据的底气在哪里?
微软最后的救命稻草Win 8份额继续上升
推荐阅读
更多>
京东很忙:升服务推产品更新招股书 能赶在阿里前上市?
弯曲变形:手机全新的交互方式
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
易信工具性优势突出 丁磊三板斧或先砍在飞信上
微信今天大面积崩溃 腾讯:因光缆施工被挖断
小米打响手机价格战 为米3铺路或另有所图
中国手游总裁及8名高管集体下岗,被指涉不当交易
都是300元内 乐视盒子与小米盒子对比体验
亚马逊落户上海自贸区:美国货直邮中国
任正非:喜马拉雅山的水为什么不能流入亚马逊河?
诺基亚因充电器问题暂停销售Lumia 2520平板电脑
9158屌丝逆袭 从在线“夜总会”转型KTV
联发科享用价钱战 专利难以摆脱高通
从WPS到office365,中国企业能否赶超美国?
苏宁双线同价遇难题:第一个吃螃蟹不轻松
苹果20年以来首次发债 融资170亿美元
一大波智能路由器正在袭来:小米、360、极路由大PK
中国雅虎邮箱今日关停 由盛及衰的背后
同为70前后人,马云为什么总是像外星人那么瘦
从旗下三大业务BG发展看华为的过去现在和未来