返回

复仇皇后慕容瑞雪传

关灯
护眼
第一百二十七章
书签 上一页 目录 下一章 书架
88读书网最新网址m.88xinshu.com

我突然回过头来,说道“什么?”

当花蕊看到我的时候,整个人都被吓着了………

愣在原地,好久好久……

(亲们,多多收藏、推荐、指正哦!)

(谢谢亲们!)

(拜托了!嘿嘿!么么哒。^o^)

<div id="ads1" style="position:relative; width:320px; height:48px;">

&lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://mobads.baidu.com/jssdk/js_api.js" target="_blank">http://mobads.baidu.com/jssdk/js_api.js</a>&quot;&gt;&lt;/script&gt;

&lt;style&gt;

/*

* css class for Baidu ad

*/

._bdsTitle{color:blue; text-decoration: underline; margin-left: 10px;}

._bdsDesc{color:blue; text-decoration: underline; margin-left: 25px;}

._bdsImg{height:38px;}

._bdsIcon{width:22px;}

&lt;/style&gt;

&lt;script type=&quot;text/javascript&quot;&gt;

function baidu_ads_show{

/*

* JS SDK Demo 2.0

*

* 参数详情请参看&lt;SDK_PATH&gt;/js_manual.doc

* &lt;SDK_PATH&gt;是SDK的接解压路径

*

*/

_$BDS{

cid:&#039;ads1&#039;, //[必选],容器ID

appsid:&#039;bed4f744&#039;, //[必选]

appsec:&#039;bed4f744&#039;, //[必选],计费名

pack: &#039;&#039;, //App标识;Android中为App包名,iOS中为Bundle Identifier

// bfn: adBuilders[adType],//UI构造函数, 默认使用内置函数

w:320, //容器宽度,设置&lt;meta name=&quot;viewport&quot; /&gt;后,大部分浏览器具有320px宽度的窗口

h:48, //容器高度,参考值:h = w * 0.15

os: 0, //设备操作系统类型,0:auto,1:Android,2:iOS

sn:&#039;&#039;, //设备串号,手机为IMEI,平板可传MAC

isp:&#039;&#039;, //移动通信运营商编号

imsi:&#039;&#039;, //IMSI

AP:false,

//cell:[[61474, 6318, 0], [61475, 6319, 0]], //基站定位信息

//gps:[1330582230666, 127.12345, 31.12345], //GPS定位信息

//wifi:[[&#039;c417fe076485&#039;, 45], [&#039;17fe0c448765&#039;, 65]], //WIFI定位信息

listener: DEFAULT_LISTENER

});

}

//推广构造器

var adType = 2; //推广类型,1:文本类型,2:图片类型

var adBuilders = {

//text类型推广构造器

1: functionad){

//ad有4个属性:title、desc、img、icon

return ad.title + &#039;

&#039; + ad.desc;

},

//image类型推广构造器

2: functionad){

//ad有2个属性:img、icon, title和desc为空

return ad.img;

}

}

var TAG = &#039;[Dev] JsSdk&#039;;

var DEFAULT_LISTENER = {

onAdShow: function{//推广成功展示事件

console.logTAG, &#039;onAdShow&#039;);

},

onAdClick: function{//推广被点击事件

console.logTAG, &#039;onAdClick&#039;);

},

onAdFailed: function{//推广无法继续展示;onReceiveFail可能继续展示推广

console.logTAG, &#039;onAdFailed&#039;);

},

onAdSwitch: function{//推广轮转事件

console.logTAG, &#039;onAdSwitch&#039;);

},

onReceiveSuccess: function{//从服务器成功接收到推广的事件

console.logTAG, &#039;onReceiveSuccess&#039;);

},

onReceiveFail: functionreason){//从服务器接收推广失败的事件,网络异常等可能触发该事件

console.logTAG, &#039;onReceiveFail&#039;, reason);

}

}

if !is_pc){

// Demo Entry

baidu_ads_show;

}

//setTimeoutdemo, 4000);

&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;

if is_pc){

$_&quot;ads1&quot;).style.display=&quot;none&quot;;

$_&quot;ads2&quot;).style.display=&quot;none&quot;;

BAIDU_CLB_fillSlot&quot;691228&quot;);

}

&lt;/script&gt;

没有下一章了,先看看别的吧


m.88xinshu.com
书签 上一页 目录 下一章 书架

腹黑毒宝拖油瓶 校园如此多娇 哥儿几个一起混 随身山河图 三国之太极演义 抗日之铁血军魂 异能娇妻降总裁 非常官道 仙路春秋 星河血