热门贴
收集了好多船长的美图~忍不住就发了
加勒比海盗吧
15982人看过
【盘点】2011年上映未上映的大片 想看什么进来找
好看的电影吧
49794人看过
【_____________新颖_犀利_搞笑的句子_________...
魔兽世界吧
32666人看过
【聘F】没有男朋友,没有女朋友的进来(拉红线...
炫舞吧
4355人看过
发个小笑话
什邡吧
1093人看过
收集!一亿句,小智,谢谢你!
澄海小智吧
21512人看过
/*
var boxes = baidu.q("rp_jff_box");
baidu.each(boxes,function(box,boxIndex){
baidu.on(box,"mouseover",function(){
box.className = "rp_jff_box rp_jff_box_hov";
});
baidu.on(box,"mouseout",function(){
box.className = "rp_jff_box rp_jff_box_nor";
});
});
*/
BdRecommend.util.remoteInvoke("ready",[BdRecommend.context.UParams["iframe_id"],0]);
//同步高宽
(function(){
var w = baidu.page.getWidth();
var h = baidu.page.getHeight();
BdRecommend.util.remoteInvoke("resize",[BdRecommend.context.UParams["iframe_id"],null,h]);
var currentWidth = 0;
var currentHeight = 0;
//if (baidu.ie == 6){
var resizeInterval = window.setInterval(resizeHandle,200);
//}else {
//baidu.on(window,"resize",resizeHandle);
//}
function resizeHandle(){
var viewWidth = baidu.page.getViewWidth();
// var viewHeight = baidu.page.getHeight();
var viewHeight = baidu.g("rp_jff_div").clientHeight;
if (viewWidth == currentWidth){
return;
}else {
currentWidth = viewWidth;
}
if (viewWidth > 800) {
baidu.g("rp_jff_content").style.width = "800px";
}else{
baidu.g("rp_jff_content").style.width = "100%";
}
if (viewHeight == currentHeight){
return;
}else {
//console.log(viewHeight);
currentHeight = viewHeight;
BdRecommend.util.remoteInvoke("resize",[BdRecommend.context.UParams["iframe_id"],null,viewHeight]);
}
}
})();
//展现日志
var displog = new BdRecommend.log.bind({
"tp" : "0",
"ds" : "jff",
"qid" : "d4c26de609b06fff",
"cid" : "18",
"q" : "招远"
});
displog.log({"disp":""});
//点击日志
var clicklog = new BdRecommend.log.bind({
"tp" : "1",
"ds" : "jff",
"qid" : "d4c26de609b06fff",
"cid" : "18",
"q" : "招远"
});
(function(logObj){
var titleLinks = baidu.q("rp_jff_title"),
barLinks = baidu.q("rp_jff_barurl"),
mu = [];
baidu.each(titleLinks,function(link,linkIndex){
baidu.on(link,"mousedown",function(){
logObj.log({
"fm":"title",
"rsn":linkIndex+1,
"url":link.href,
"title":baidu.dom.getText(link)
});
});
mu.push(link.href);
});
baidu.each(barLinks,function(link,linkIndex){
baidu.on(link,"mousedown",function(){
logObj.log({
"fm":"link",
"rsn":linkIndex+1,
"pos":1,
"murl":mu[linkIndex],
"url":link.href,
"title":baidu.dom.getText(link)
});
});
});
})(clicklog);