<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="JS代码,全屏广告,JS广告代码,JS特效代码" />
<meta name="description" content="此代码内容为雅虎中国首页全屏可伸缩可关闭广告代码,属于站长常用代码,更多全屏广告代码请访问脚本之家JS代码频道。" />
<title>雅虎中国首页全屏可伸缩可关闭广告代码_脚本之家</title>
</head>
<body style="text-align:center">
<table width="950" height="120" border="0" cellpadding="0" cellspacing="0" bgcolor="#66CCFF">
<tr>
<td align="center">头部</td>
</tr>
</table>
<!--start:{yhpsnspush-->
<DIV id=yhp-snspush style="MARGIN: 0px; OVERFLOW: hidden; WIDTH: 950px; POSITION: relative; HEIGHT: 290px">
<DIV id=close-snspush style="RIGHT: 5px; CURSOR: hand; POSITION: absolute; TOP: 5px"><IMG alt=关闭 src="images/snspush_close.gif"></DIV>
<SCRIPT src="js/ycn_fla.js"></SCRIPT>
<SCRIPT>
<!--
if(yfla.is_support(6)){
yfla.load({id:"myfla",
url:"swf/950x290_koubei_1.swf",
width:950,
height:290});
}else{
//不支持Flash情况下,可以在这里做任何处理(替带或是跳转)。
document.write("没有安装Flash Player或版本不够新");
}
document.getElementById('close-snspush').onclick = function(){
YAHOO.CN.Fp.closeSnsPush();
}
//-->
</SCRIPT>
</DIV><!--yhpsnspush}:end-->
<table width="950" height="120" border="0" cellpadding="0" cellspacing="0" bgcolor="#66CCFF">
<tr>
<td align="center">底部</td>
</tr>
</table>
<SCRIPT src="js/ycnlib.js"></SCRIPT>
<SCRIPT src="js/animation-min.js"></SCRIPT>
<SCRIPT>
YAHOO.namespace("CN.Fp");
</SCRIPT>
<SCRIPT>
<!--
YAHOO.CN.Fp.closeSnsPush = function(){
var removeElement = function() {
var el = this.getEl();
el.parentNode.removeChild(el);
};
var myAnim = new YAHOO.util.Anim('yhp-snspush', {
height: { to: 0 }
}, 0.5, YAHOO.util.Easing.easeOut);
myAnim.onComplete.subscribe(removeElement);
myAnim.animate();
}
//-->
</SCRIPT>
<p>代码整理:<a href="http://www.jb51.net/" target="_blank">脚本之家</a> 来源:<a href="http://cn.yahoo.com/" target="_blank">雅虎中国</a></p>
<p>*尊重他人劳动成果,转载请自觉注明出处!注:此代码仅供学习交流,请勿用于商业用途。</p>
<p></p>
<p><p>雅虎中国首页全屏可伸缩可关闭广告代码,播放完毕可自动关闭,推荐!</p></p>
<p></p>
</body>
</html>