网页特效
建站首页
|
广告代码
|
源码下载
|
站长工具
|
字体下载
|
网页模板
|
收藏本站
|
设为首页
网站首页
菜单导航
日期时间
背景图像
图层样式
鼠标键盘
页面窗口
色彩表格
链接文字
表单按钮
计数转换
游戏娱乐
综合实例
特效
热门搜索:
特效代码
js脚本
导航菜单
热点推荐:
英文字体
人民币汇率
dw插件
站长常用软件
alexa排名查询
您的位置:
网页特效
->
页面窗口
-> 百度右下角视频弹窗代码
百度右下角视频弹窗代码
作者:admin 发布时间:2010-2-7 19:50:52 发布人: admin
本弹窗代码来自<a href="http://web.archive.org/web/20150322210104/http://myjs.jz123.cn/">网页特效网</a> <script language="javascript"> //欢迎来到网页特效效网,我们的网址是myjs.jz123.cn,还有许多广告代码下载。 var BD_HY_VIDEOAD={};(function(){var F={videoId:"BD_HY_VIDEOAD_"+new Date().getTime().toString().substring(5,13),bgFlashShow:0,bdLogoShow:"true",bdSmallShow:"true",bdLogo:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/0306videoTest/malogo.gif",bdSmallLogo:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/0306videoTest/malogo.gif",cookieTime:1200000,playerWidth:340,playerHeight:300,minWidth:177,minHeight:85,bgWidth:450,bgHeight:400,playerSrc:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/0306videoNewPlayer/videoad.swf",videoSrc:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/ddt0129/1.flv",imageSrc:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/ddt0129/1.jpg",bgSrc:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/0224videobg.swf",logoSwf:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/ddt0129/logo2.jpg",logoPic:"http://web.archive.org/web/20150322210104/http://eiv.baidu.com/mapm2/ddt0129/logo.jpg",words:"\u767e\u5ea6\u5f39\u5f39\u5802\u706b\u7206\u5f00\u670d \u6ce8\u518c\u65e2\u9001 \u767e\u5143\u5927\u793c",ctIfShow:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3491&tu=d3d3LmJhaWR1LmNvbQ%3D%3D&std=0",ctAutoPlay:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3492&tu=d3d3LmJhaWR1LmNvbQ%3D%3D&std=0",ctReplay:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3492&tu=d3d3LmJhaWR1LmNvbQ%3D%3D&std=0",ctAllPlay:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3493&tu=d3d3LmJhaWR1LmNvbQ%3D%3D&std=0",ctClose:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3494&tu=d3d3LmJhaWR1LmNvbQ%3D%3D&std=0",ctVideoUrl:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3490&tu=aHR0cDovL3lvdXhpLmJhaWR1LmNvbS9wcm9tLnhodG1sP2NvZGU9JUI2JUU3JUFFJUU0JUJEJUQ1JTkyZSUyRiU5NyVGRG4lODk0JUY4JUEz&std=0",ctImageUrl:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3490&tu=aHR0cDovL3lvdXhpLmJhaWR1LmNvbS9wcm9tLnhodG1sP2NvZGU9JUI2JUU3JUFFJUU0JUJEJUQ1JTkyZSUyRiU5NyVGRG4lODk0JUY4JUEz&std=0",ctLogoUrl:"http://web.archive.org/web/20150322210104/http://tk.baidu.com/tk-rcv/sv/click.php?trid=3490&tu=aHR0cDovL3lvdXhpLmJhaWR1LmNvbS9wcm9tLnhodG1sP2NvZGU9JUI2JUU3JUFFJUU0JUJEJUQ1JTkyZSUyRiU5NyVGRG4lODk0JUY4JUEz&std=0"},K=null,R=0,P=!window.opera&&(navigator.appVersion.indexOf("MSIE")!=-1),J=P&&(!window.XMLHttpRequest),$=document.compatMode=="CSS1Compat",S=!P||(!J&&$);function M(B,E,D,C,_,A){if(D){var $=new Date();$.setTime($.getTime()+D)}document.cookie=B+"="+encodeURIComponent(E)+((D==null)?"":";expires="+$.toGMTString())+((C==null)?"":";path="+C)+((_==null)?"":";domain="+_)+((A)?";secure":"")}function D(A){var $="(?:; )?"+A+"=([^;]*);?",_=new RegExp($);if(_.test(document.cookie))return decodeURIComponent(RegExp.$1);else return null}function Q(A,$,_){if(A.addEventListener)A.addEventListener($,_,false);else if(A.attachEvent)A.attachEvent("on"+$,_);else A["on"+$]=_}BD_HY_VIDEOAD.setPosition=function(_){var $=document.getElementById(F.videoId+"_div");K=_;if(_=="close"){M("BD_HY_VIDEOAD","close",F.cookieTime);N(F.ctClose);I();$.style.display="none"}else if(_=="big"){if(!S)L();$.style.width=F.playerWidth+"px";$.style.height=F.playerHeight+"px"}else if(_=="small"){$.style.width=F.minWidth+"px";$.style.height=F.minHeight+"px";if(!S)L()}};BD_HY_VIDEOAD.logoClick=function(){window.open(F.ctLogoUrl,"BDvideoAdNewWindow")};BD_HY_VIDEOAD.videoClick=function(){window.open(F.ctVideoUrl,"BDvideoAdNewWindow")};BD_HY_VIDEOAD.videoPicClick=function(){window.open(F.ctImageUrl,"BDvideoAdNewWindow")};BD_HY_VIDEOAD.videoAutoPlay=function(){N(F.ctAutoPlay);G()};BD_HY_VIDEOAD.videoReplay=function(){N(F.ctReplay);G()};BD_HY_VIDEOAD.videoStop=function(){N(F.ctAllPlay);I()};BD_HY_VIDEOAD.videoToSmall=function(){I()};function N($){(new Image(1,1)).src=$+"&sendtime="+new Date().getTime().toString()}function E(A,_,B){if(document.compatMode&&$){A.style.top=document.documentElement.scrollTop+(document.documentElement.clientHeight-B)-1;A.style.left=document.documentElement.scrollLeft+(document.documentElement.clientWidth-_)-1}else{A.style.top=document.body.scrollTop+(document.body.clientHeight-B)-1;A.style.left=document.body.scrollLeft+(document.body.clientWidth-_)-1}}function L(){var _=document.getElementById(F.videoId+"_div");if(K=="big")E(_,F.playerWidth,F.playerHeight);else if(K=="small")E(_,F.minWidth,F.minHeight);if(F.bgFlashShow==1&&R==1){var $=document.getElementById(F.videoId+"_bg");$.style.position="absolute";if($)E($,F.bgWidth,F.bgHeight)}}function H(){var $=document.getElementById(F.videoId+"_div");if($){$.style.position="absolute";L();Q(window,"resize",L);Q(window,"scroll",L)}}function G(){if(F.bgFlashShow==1&&R==0){var $=document.createElement("div");$.innerHTML=O(F.videoId+"_bgflash",F.bgSrc,F.bgWidth,F.bgHeight);$.id=F.videoId+"_bg";if(S){$.style.position="fixed";$.style.right=0;$.style.bottom=0}$.style.zIndex=2047483647;document.body.appendChild($);R=1;if(!S)L()}}function I(){if(F.bgFlashShow==1&&R==1){document.body.removeChild(document.getElementById(F.videoId+"_bg"));R=0}}function O(D,C,B,A,$){var _='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '+'codebase="http://web.archive.org/web/20150322210104/http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+B+'" height="'+A+'" id="'+D+'" align="middle">'+'<param name="allowScriptAccess" value="always">'+'<param name="quality" value="high">'+'<param name="wmode" value="transparent">'+'<param name="movie" value="'+C+"?"+D+'">'+'<param name="flashvars" value="'+(!$?"":$)+'">'+'<embed src="'+C+'" flashvars="'+(!$?"":$)+'" quality="high" wmode="transparent" width="'+B+'" height="'+A+'" name="'+D+'" align="middle" allowScriptAccess="always" '+'type="application/x-shockwave-flash" pluginspage="http://web.archive.org/web/20150322210104/http://www.macromedia.com/go/getflashplayer"></object>';return _}function B($){var _="mode="+$+"&logomove="+F.logoSwf+"&logopic="+F.logoPic+"&vid="+F.videoSrc+"&words="+F.words+"&vpic="+F.imageSrc+"&sl="+F.bdLogoShow+"&ssl="+F.bdSmallShow+"&bdlogo="+F.bdLogo+"&bdslogo="+F.bdSmallLogo;return _}function A(){var A=O(F.videoId+"_player",F.playerSrc,F.playerWidth,F.playerHeight,B(K)),$=document.createElement("div");$.innerHTML=A;$.id=F.videoId+"_div";$.style.zIndex=2147483647;$.style.overflow="hidden";$.style.position="fixed";$.style.right=0;$.style.bottom=0;if(K=="small"){$.style.width=F.minWidth+"px";$.style.height=F.minHeight+"px"}else if(K=="big"){$.style.width=F.playerWidth+"px";$.style.height=F.playerHeight+"px"}_($);if(!S)H();N(F.ctIfShow)}function _($){if(P){if(document.readyState=="complete")document.body.appendChild($);else document.onreadystatechange=function(){if(document.readyState=="complete")document.body.appendChild($)}}else document.body.appendChild($)}function C(){var $=D("BD_HY_VIDEOAD");if($!="close")if($=="small"){K="small";A()}else{K="big";A();M("BD_HY_VIDEOAD","small",F.cookieTime)}}Q(window,"load",C)})() </script>
百度右下角视频弹窗代码
将本文收藏到QQ书签与更多好友分享
上一篇:文章:
js确认删除对话框
下一篇:文章:
阿里妈妈右下角弹窗效果
本类浏览排行 »
搜索页面中的内容
又一款综合搜索引擎代码
标题栏显示当前时间
倒影效果的电子表,显示当前时间
自动记录当前页面最新的更新日期
JS让网页每隔2秒弹出一次对话框
一款超酷的CSS列表排行榜
鼠标悬停放大的纯CSS分页效果
本站推荐文章 »
垂直三栏自适应等高布局
仿QQ消息管理器的文本内容样式
支付宝的控制台动画效果菜单
文字、图片拖曳移动
可拉伸移动的DIV层效果
很酷的图片伸缩放大功能
较好的视觉效果的网页选项卡
CSS实例:通过定义渐变边框给图片加阴影