阿里妈妈广告源码示例
来源:互联网 发布:咸阳师范学院教务网络 编辑:程序博客网 时间:2024/04/30 10:26
这是一个很普遍的淘宝广告代码,具有定时刷新显示不同广告内容的功能。已做备忘。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD> <style> html, body{ margin:0; padding:0; } </style></HEAD><BODY> <script type="text/javascript"> document.write('<a style="display:none!important" id="tanx-a-mm_26632206_2690592_14738448"></a>'); tanx_s = document.createElement("script"); tanx_s.type = "text/javascript"; tanx_s.charset = "gbk"; tanx_s.id = "tanx-s-mm_26632206_2690592_14738448"; tanx_s.async = true; tanx_s.src = "http://p.tanx.com/ex?i=mm_26632206_2690592_14738448"; tanx_h = document.getElementsByTagName("head")[0]; if(tanx_h)tanx_h.insertBefore(tanx_s,tanx_h.firstChild); setInterval( function () { location.reload(); }, 10*60*1000);</script></BODY></HTML>广告的效果示意图是
js形式的代码片段
(function(w, d) { var o = {i: "mm_26632206_2690592_21024578",callback: "",userid: "",o: "",f: "",n: "",sd: "toruk.tanx.com"}, p = {c: 'gbk',s: 'http://cdn.tanx.com/t/tanxssp.js'}; if (w.tanxssp_show) { w.tanxssp_show(o); return; } w.tanx_ssp_onload = w.tanx_ssp_onload || []; tanx_ssp_onload.push(o); if (d.getElementById('tanx-a-' + (o.i || ''))) { var s = d.createElement("script"), h = d.getElementsByTagName("head")[0]; s.charset = p.c; s.async = true; s.src = p.s; h.insertBefore(s, h.firstChild); } else { d.write('<script charset="' + p.c + '" src="' + p.s + '"></script>'); }})(window, document)
0 0
- 阿里妈妈广告源码示例
- 阿里妈妈的广告
- 阿里妈妈广告
- 阿里妈妈广告
- 按键精灵刷阿里妈妈广告联盟源码 V1.1版
- 按键精灵刷阿里妈妈广告联盟源码 后台运行 并显示点击次数 亲测有效
- 阿里妈妈广告进驻我的博客
- 感觉有些阴险的阿里妈妈广告。。。。
- 阿里妈妈首页图片轮换广告
- 阿里妈妈网站主广告技巧
- 用ControlJS优化阿里妈妈广告
- 怎么在阿里妈妈投放广告?--人人有责-- .
- 用ControlJS优化阿里妈妈广告
- CSDN博客放阿里妈妈广告代码的方法
- 阿里妈妈alimama广告平台购买使用心得
- javaeye博客可以挂google Adsense,阿里妈妈广告
- 推荐!CSDN博客放阿里妈妈广告代码的方法
- 推荐!CSDN博客放阿里妈妈广告代码的方法
- C语言的形参和实参个数不一致问题
- java内部类回顾之匿名内部类
- 从SAP服务器上传下载的TCODE
- 食物链(并查集)
- java的四种引用类型
- 阿里妈妈广告源码示例
- android自定义控件系列教程----视图的测量和布局
- 【DP】 HDOJ 5151 Sit sit sit
- java 那些鲜为人知的保留字
- git学习笔记01
- 图片压缩,只压缩大小,不压缩宽高
- 区分VS中解决方案(solution)和工程(project)
- javascript---去除右键功能,防止复制和文本选取
- MongoDB深究之ObjectId