说是做个头部伸缩广告。。。。
翻腾素材 做,取名叫banner.gif(兔子兔年 2011 圣诞彩灯 72像素Algerian字体 浑厚 960*400px)
觉得像是智能绘色了,模糊。。。
所用js (同事Frank.Hong提供)
<!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" />
<title>merry </title>
</head>
<body>
<div id="mc" style="width:900px; margin:0 auto; display:none;"></div>
<script src="ad1.js" type="text/javascript"></script>
<script src="ad2.js"></script>
<script type="text/javascript">(function(){
var a = AD2, dom = a.DomUtil, evt = a.DomEventUtil;
a.area({
id: ‘mc’
})({
oid: ‘1105508’,
cid: ‘88850’,
monitor_url: ”,
display: ‘fullscreen’,
display_config: {
delay: 1,
duration: 7,
show_duration: .7,
hide_duration: .7
},
fodder: [{
type: ‘image’,
resource_url: ‘banner.gif’,//图片名称
link_to: ‘http://addurl’,//广告链接网址
width: 960,
height: 400,
cover: false
}]
});
a.render(‘mc’);
a.ping.flush();
})();</script>
</body>
</html>
js ad1
直接复制到新建的取名ad1 的JS里面即可