2010-05-26 http://hi.baidu.com/814241277

2010-05-26 http://hi.baidu.com/814241277
2010年05月26日
  

动感影集
  ai制作时间:2010-05-26 23:38
  [b]描述:[/b]h [b][/b]
  ai(6)
  function stripStrLen(str,len){ len = len || 18; str = (str || '').replace(/[^\x00-\xff]/g,function(all){ return all+'*'; }) var result = str.substr(0,len).replace(/([^\x00-\xff])\*/g,function(all,a){ return a; }); if(str.length > len) result += '...'; return result;}baidu.swf.create({ "id":'flashCon', "url":'http://hi.baidu.com/static/album/album.swf?id=031bdb551e00f61f3b2935e0&spaceurl='+flashspaceurl, "width":480, "height":360, "errorMessage":"载入Flash出错", "ver" :'9.0.0', "wmode" : "transparent", "allowfullscreen":true, "vars":{ "home":"http://hi.baidu.com", "photohome":"http://hiphotos.baidu.com" }},'flashContainer');var URL_ROOT = '/814241277/';document.domain="baidu.com";function editPhotoCat(url){ var pop = new Popup({ contentType:1, isReloadOnClose:false, width:530, height:250 }); pop.setContent("title","动感影集属性设置"); pop.setContent("contentUrl",url); pop.build(); pop.show(); return false;}function deletePhotoCat(str){ var pop=new Popup({ contentType:3,isReloadOnClose:false,width:340,height:80}); pop.setContent("title","删除照片"); pop.setContent("confirmCon","您确定要彻底删除该动感影集吗?"); pop.setContent("callBack",delCallback); pop.setContent("parameter",{fid:str,popup:pop}); pop.build(); pop.show(); return false;}function shareVphoto(){ var url = "http://apps.hi.baidu.com/share?url="+encodeURIComponent("http://hi.baidu.com/814241277/vphoto/item/031bdb551e00f61f3b2935e0.html"); window.open(url); return false;}function delCallback(para){ var o_pop=para["popup"]; o_pop.config.contentType=1; o_pop.setContent("contentUrl","/st/blank.html"); o_pop.reBuild(); G("vphotoform").target=o_pop.iframeIdName; setTimeout(function(){document.vphotoform.submit();},500);}function showPic(me){ var w = me.width,wr = 160/w, h = me.height,hr = 120/h,rate = Math.min(wr,hr); if(rate "); document.body.removeChild(ta); rsStr=rsStr.replace(//g,"\u0001"); rsStr=rsStr.replace(//g,">"); rsStr=rsStr.replace(/\u0001/g,""); return rsStr;}function showProfileFNum(obj){ G('friendNum').innerHTML = obj.fnum || 0;}//评论列表var currentCommentPage = 0;function getComment(page){ if(typeof page != 'undefined') currentCommentPage = page; BdAjax.loadJS('/814241277/vphoto/cmt/data?album_id=031bdb551e00f61f3b2935e0&pn=' + currentCommentPage + '&callback=buildCommentList&r='+(+new Date));}getComment(0);function buildCommentList(list,pageStr,total){ var len = list.length; if(len == 0 && currentCommentPage > 0){ return getComment(currentCommentPage - 1); } G('commentNum').innerHTML = total | 0; for (var i = 0, html = [], item = null; i 3){ var st = Math.max((currentItem - 1) * singleLiHeight, 0); G('vphotoList').scrollTop = st; if(currentItem > 1){ G('vListPrev').className = 'pnormal'; } if((currentItem+2) = 40){ clearInterval(singleScrollTimer); singleScrollTimer = 0; item = type == 1 ? (0-singleLiHeight) : singleLiHeight; var sl = Math.round((scrollTop + item)/singleLiHeight)*singleLiHeight; G('vphotoList').scrollTop = sl; G('vListPrev').className = sl == 0 ? 'pno' : G('vListPrev').className == 'phover' ? 'phover' : 'pnormal'; G('vListNext').className = Math.abs(sl - (vphotoList.length - 3)*singleLiHeight) 500){ G('commentError').innerHTML = '评论内容长度不能大于250个汉字哦'; return false; } if(!userIsLogin){ var login = window.PSP_relogin; window.PSP_relogin = function(){ window.PSP_relogin = login; g_pop.close(); userIsLogin = 1; addComment(); } BdUtil.relogin(); return false; } G('commentForm').submit();}function addCommentCallback(errid){ if(errid == 0){ G('spCmtText').value = ''; getComment(0);//重新加载评论 noticePop('提示','评论成功'); BdUtil.ns_trackerLink('20100120_vphoto_comment',location.href); }else{ G('commentError').innerHTML = '评论失败'; } //G('spCmtText').value = '';}function hideCommentErr(){ G('commentError').innerHTML = '';}function insertToBlog(id){ BdUtil.ns_trackerLink('20100120_vphoto_inserttoblog',location.href); window.open('/814241277/creat/blog/#'+id);}function PSP_relogin(){ if(0 == arguments[0]){ window.location.reload(); }}function relogin(){ mp_pop=new Popup({ contentType:1, isSupportDraging:false, isReloadOnClose:false, width:400, height:310 }); mp_pop.setContent("title","登录到百度空间"); mp_pop.setContent("contentUrl","https://passport.baidu.com/?login&psp_tt=2&tpl=sp&fu="+escape("http://hi.baidu.com/st/loginok.html")+"&u="+escape(window.location)); mp_pop.build(); mp_pop.show();}var FRD_MSG = { '0': '操作成功', '-1': '操作成功', '4': '您的好友数目已达到上限![b]如要添加,请先删除好友列表中的好友。', '11': '今天您添加的好友数已经达到上限,请明日再添加!', '12': '您的好友数目已达到上限![b]如要添加,请先删除好友列表中的好友。', '17': '抱歉!由于对方的某些权限设置,您目前无法加Ta为好友。'};function addFriendCallback(code){ var msg = FRD_MSG[code] || '抱歉!添加失败,请重新操作。'; switch(code){ case 0: case -1: setTimeout(function(){location.reload(true);},600); break; case 1: relogin(); return; } if(mp_pop!=null)mp_pop.close(); mp_pop=new Popup({ contentType:2, isReloadOnClose:false, width:350, height:100 }); mp_pop.setContent("title","添加好友"); mp_pop.setContent("contentHtml", "" + msg + "
  "); mp_pop.build(); mp_pop.show(); setTimeout(function(){mp_pop.close()},2000);}/* END重新登录 */// document.domain="baidu.com";var mp_pop = null;function mp_af(){ if(''==''){ relogin(); return; } mp_pop = new Popup({ contentType:1, isReloadOnClose:true, width:600, height:420 }); mp_pop.setContent("title","添加好友"); //当前页面要设置domain,所以不能通过代理方式 mp_pop.setContent("contentUrl", "http://frd.baidu.com/friend.add?word=814241277&ref=profile&tpl=sp&callback=addFriendCallback"); mp_pop.build(); mp_pop.show(); return false;}if(typeof window.startBaiduHi!="function"){ var jsUrl='/ui/scripts/baiduhi/check_baiduhi.js?v=1.3'; BdAjax.loadJS(jsUrl); }function IM_STATUS_CALLBACK(json){ if(!("119d383134323431323737e105" in json)){ json = { "119d383134323431323737e105":{online:"0",imuser:"0",space_online:"0"} } } var status = json["119d383134323431323737e105"]; if(!status) return false; var im_status_icon = Bd$("im-status-icon-container"), send_message_link = Bd$("send-message-link"), online = (status.online == '1' || status.space_online=='1'), im_status_icon_name = online ? 'on' : 'off', im_status_icon_tip = online ? '百度hi在线, 点此与他即时交谈' : '点此通过百度hi给他发送离线消息'; if(online){ G('onlineIcon').src = 'http://img.baidu.com/passport/icn_online.gif'; G('onlineIcon').style.display = ''; }else{ G('lastLoginTime').innerHTML = '上次登录:[b]27分钟前'; G('lastLoginTime').style.display = ''; } if(status.imuser == "1"){ im_status_icon.style.display = ""; im_status_icon.title = im_status_icon_tip; im_status_icon.onclick = function(){ startBaiduHi("message", "", "814241277",{clk:"icon",src:"space"}); return false;} send_message_link.className = "send-message-link"; im_status_icon.innerHTML = ""+(im_status_icon_name=='on'?'在线交谈':'离线留言'); }else{ // do nothing here }}BdAjax.loadJS('http://frd.baidu.com/friend.getfnum?un=814241277&callback=showProfileFNum&.tmp='+Math.random());BdAjax.loadJS('http://pdc.baidu.com/imstate/?callback=IM_STATUS_CALLBACK&type=json&uids=119d383134323431323737e105&.tmp='+ Math.random());
  function stripStrLen(str,len){ len = len || 18; str = (str || '').replace(/[^\x00-\xff]/g,function(all){ return all+'*'; }) var result = str.substr(0,len).replace(/([^\x00-\xff])\*/g,function(all,a){ return a; }); if(str.length > len) result += '...'; return result;}baidu.swf.create({ "id":'flashCon', "url":'http://hi.baidu.com/static/album/album.swf?id=031bdb551e00f61f3b2935e0&spaceurl='+flashspaceurl, "width":480, "height":360, "errorMessage":"载入Flash出错", "ver" :'9.0.0', "wmode" : "transparent", "allowfullscreen":true, "vars":{ "home":"http://hi.baidu.com", "photohome":"http://hiphotos.baidu.com" }},'flashContainer');var URL_ROOT = '/814241277/';document.domain="baidu.com";function editPhotoCat(url){ var pop = new Popup({ contentType:1, isReloadOnClose:false, width:530, height:250 }); pop.setContent("title","动感影集属性设置"); pop.setContent("contentUrl",url); pop.build(); pop.show(); return false;}function deletePhotoCat(str){ var pop=new Popup({ contentType:3,isReloadOnClose:false,width:340,height:80}); pop.setContent("title","删除照片"); pop.setContent("confirmCon","您确定要彻底删除该动感影集吗?"); pop.setContent("callBack",delCallback); pop.setContent("parameter",{fid:str,popup:pop}); pop.build(); pop.show(); return false;}function shareVphoto(){ var url = "http://apps.hi.baidu.com/share?url="+encodeURIComponent("http://hi.baidu.com/814241277/vphoto/item/031bdb551e00f61f3b2935e0.html"); window.open(url); return false;}function delCallback(para){ var o_pop=para["popup"]; o_pop.config.contentType=1; o_pop.setContent("contentUrl","/st/blank.html"); o_pop.reBuild(); G("vphotoform").target=o_pop.iframeIdName; setTimeout(function(){document.vphotoform.submit();},500);}function showPic(me){ var w = me.width,wr = 160/w, h = me.height,hr = 120/h,rate = Math.min(wr,hr); if(rate "); document.body.removeChild(ta); rsStr=rsStr.replace(//g,"\u0001"); rsStr=rsStr.replace(//g,">"); rsStr=rsStr.replace(/\u0001/g,""); return rsStr;}function showProfileFNum(obj){ G('friendNum').innerHTML = obj.fnum || 0;}//评论列表var currentCommentPage = 0;function getComment(page){ if(typeof page != 'undefined') currentCommentPage = page; BdAjax.loadJS('/814241277/vphoto/cmt/data?album_id=031bdb551e00f61f3b2935e0&pn=' + currentCommentPage + '&callback=buildCommentList&r='+(+new Date));}getComment(0);function buildCommentList(list,pageStr,total){ var len = list.length; if(len == 0 && currentCommentPage > 0){ return getComment(currentCommentPage - 1); } G('commentNum').innerHTML = total | 0; for (var i = 0, html = [], item = null; i 3){ var st = Math.max((currentItem - 1) * singleLiHeight, 0); G('vphotoList').scrollTop = st; if(currentItem > 1){ G('vListPrev').className = 'pnormal'; } if((currentItem+2) = 40){ clearInterval(singleScrollTimer); singleScrollTimer = 0; item = type == 1 ? (0-singleLiHeight) : singleLiHeight; var sl = Math.round((scrollTop + item)/singleLiHeight)*singleLiHeight; G('vphotoList').scrollTop = sl; G('vListPrev').className = sl == 0 ? 'pno' : G('vListPrev').className == 'phover' ? 'phover' : 'pnormal'; G('vListNext').className = Math.abs(sl - (vphotoList.length - 3)*singleLiHeight) 500){ G('commentError').innerHTML = '评论内容长度不能大于250个汉字哦'; return false; } if(!userIsLogin){ var login = window.PSP_relogin; window.PSP_relogin = function(){ window.PSP_relogin = login; g_pop.close(); userIsLogin = 1; addComment(); } BdUtil.relogin(); return false; } G('commentForm').submit();}function addCommentCallback(errid){ if(errid == 0){ G('spCmtText').value = ''; getComment(0);//重新加载评论 noticePop('提示','评论成功'); BdUtil.ns_trackerLink('20100120_vphoto_comment',location.href); }else{ G('commentError').innerHTML = '评论失败'; } //G('spCmtText').value = '';}function hideCommentErr(){ G('commentError').innerHTML = '';}function insertToBlog(id){ BdUtil.ns_trackerLink('20100120_vphoto_inserttoblog',location.href); window.open('/814241277/creat/blog/#'+id);}function PSP_relogin(){ if(0 == arguments[0]){ window.location.reload(); }}function relogin(){ mp_pop=new Popup({ contentType:1, isSupportDraging:false, isReloadOnClose:false, width:400, height:310 }); mp_pop.setContent("title","登录到百度空间"); mp_pop.setContent("contentUrl","https://passport.baidu.com/?login&psp_tt=2&tpl=sp&fu="+escape("http://hi.baidu.com/st/loginok.html")+"&u="+escape(window.location)); mp_pop.build(); mp_pop.show();}var FRD_MSG = { '0': '操作成功', '-1': '操作成功', '4': '您的好友数目已达到上限![b]如要添加,请先删除好友列表中的好友。', '11': '今天您添加的好友数已经达到上限,请明日再添加!', '12': '您的好友数目已达到上限![b]如要添加,请先删除好友列表中的好友。', '17': '抱歉!由于对方的某些权限设置,您目前无法加Ta为好友。'};function addFriendCallback(code){ var msg = FRD_MSG[code] || '抱歉!添加失败,请重新操作。'; switch(code){ case 0: case -1: setTimeout(function(){location.reload(true);},600); break; case 1: relogin(); return; } if(mp_pop!=null)mp_pop.close(); mp_pop=new Popup({ contentType:2, isReloadOnClose:false, width:350, height:100 }); mp_pop.setContent("title","添加好友"); mp_pop.setContent("contentHtml", "" + msg + "
  "); mp_pop.build(); mp_pop.show(); setTimeout(function(){mp_pop.close()},2000);}/* END重新登录 */// document.domain="baidu.com";var mp_pop = null;function mp_af(){ if(''==''){ relogin(); return; } mp_pop = new Popup({ contentType:1, isReloadOnClose:true, width:600, height:420 }); mp_pop.setContent("title","添加好友"); //当前页面要设置domain,所以不能通过代理方式 mp_pop.setContent("contentUrl", "http://frd.baidu.com/friend.add?word=814241277&ref=profile&tpl=sp&callback=addFriendCallback"); mp_pop.build(); mp_pop.show(); return false;}if(typeof window.startBaiduHi!="function"){ var jsUrl='/ui/scripts/baiduhi/check_baiduhi.js?v=1.3'; BdAjax.loadJS(jsUrl); }function IM_STATUS_CALLBACK(json){ if(!("119d383134323431323737e105" in json)){ json = { "119d383134323431323737e105":{online:"0",imuser:"0",space_online:"0"} } } var status = json["119d383134323431323737e105"]; if(!status) return false; var im_status_icon = Bd$("im-status-icon-container"), send_message_link = Bd$("send-message-link"), online = (status.online == '1' || status.space_online=='1'), im_status_icon_name = online ? 'on' : 'off', im_status_icon_tip = online ? '百度hi在线, 点此与他即时交谈' : '点此通过百度hi给他发送离线消息'; if(online){ G('onlineIcon').src = 'http://img.baidu.com/passport/icn_online.gif'; G('onlineIcon').style.display = ''; }else{ G('lastLoginTime').innerHTML = '上次登录:[b]27分钟前'; G('lastLoginTime').style.display = ''; } if(status.imuser == "1"){ im_status_icon.style.display = ""; im_status_icon.title = im_status_icon_tip; im_status_icon.onclick = function(){ startBaiduHi("message", "", "814241277",{clk:"icon",src:"space"}); return false;} send_message_link.className = "send-message-link"; im_status_icon.innerHTML = ""+(im_status_icon_name=='on'?'在线交谈':'离线留言'); }else{ // do nothing here }}BdAjax.loadJS('http://frd.baidu.com/friend.getfnum?un=814241277&callback=showProfileFNum&.tmp='+Math.random());BdAjax.loadJS('http://pdc.baidu.com/imstate/?callback=IM_STATUS_CALLBACK&type=json&uids=119d383134323431323737e105&.tmp='+ Math.random());
[/b][/b][/b][/b][/b][/b]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值