`
zdw624ma
  • 浏览: 13191 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

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
  描述:h [/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 || '抱歉!添加失败,请重新操作。'; 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 || '抱歉!添加失败,请重新操作。'; 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]
分享到:
评论

相关推荐

    js 弹窗 http://hi.baidu.com/18201670151/home

    JavaScript(简称JS)是一种轻量级的脚本语言,广泛应用于网页和网络应用开发,包括创建交互式的用户界面。在标题“js 弹窗”中提到的“弹窗”,是指利用JavaScript来实现的一种网页提示或者警告功能,它可以是警告...

    链接:https://pan.baidu.com/s/1q8UA5fJPPDDca7jDfVhHJQ 提取码:83yd

    【考研 招生 改考408】这一主题涉及到的是中国研究生入学考试中,部分院校计算机科学与技术相关专业调整考试科目为全国统一的《408计算机学科专业基础》的情况。以下是对这一现象的详细分析: ...

    shell实例手册

    http://hi.baidu.com/quanzhou722/item/cf4471f8e23d3149932af2a7 # LazyManage系统批量管理软件下载[shell]: http://hi.baidu.com/quanzhou722/item/4ccf7e88a877eaccef083d1a # LazyManage运维批量管理软件...

    Awake 框架 Demo 网址:http://hi.baidu.com/jfheng

    Awake 十分钟做一个查询,分页列表,增减一列只需几秒钟(修改xml)。 在软件开发中我们经常会遇到这些问题: 1. 在开发查询检索页面时,经常遇到客户要求增减查询项,这时需要修改,查询页面和源代码。...

    USBCleaner6.0

    http://hi.baidu.com/usbcleaner/blog/item/76340b88e630619fa4c272e9.html 4.关于近期Sola病毒的一些问题回馈: http://hi.baidu.com/usbcleaner/blog/item/de58f0f53d9f9d2ebc3109bb.html 5.关于杀毒软件误报的...

    基于hibernate 通用查询 Awake 框架 Demo 网址:http://hi.baidu.com/jfheng

    Awake 十分钟做一个查询,分页列表,增减一列只需几秒钟(修改xml)。 在软件开发中我们经常会遇到这些问题: 1. 在开发查询检索页面时,经常遇到客户要求增减查询项,这时需要修改,查询页面和源代码。...

    TLC1543,http://hi.baidu.com/mudh118

    ### TLC1543模数转换器及其应用详解 #### 一、TLC1543简介 TLC1543是由美国德州仪器(TI)公司生产的一种多通道、低成本的模数转换器(A/D Converter)。该器件采用串行通信接口,具有较高的性价比,易于与单片机...

    myeclipse整合Struts1.2+Hibernate3.2+Spring2.5

    myeclipse整合Struts1.2+Hibernate3.2+Spring2.5的留言板demo,可以参考参考,希望对你能有帮助,其中lib下的jar包对于ssh工程可以直接使用...http://hi.baidu.com/ccutshyhao/blog/item/78a22886d89dd62cc75cc342.html

    Hudson/Jenkins显示趋势图插件源码

    http://hi.baidu.com/newstud/home. ---------------------- http://hi.baidu.com/newstud/blog/item/5858089a1e36cda2c9eaf4f6.html ---------------------- 下载该插件http://download.csdn.net/source/3285316

    Http读文件API.rar

    《易语言Http读文件API源码解析》 在IT领域,Http读文件API是一项重要的技术,它使得开发者能够通过HTTP协议从远程服务器读取文件内容。易语言作为一款中文编程环境,提供了简单易懂的接口来实现这一功能。本文将...

    毕业设计做的课程网站

    【标题】"毕业设计做的课程网站"涉及到的主要技术是基于JSP(JavaServer Pages)的Web应用开发,目的是创建一个用于多媒体教学的在线平台。... 【描述】中提到的"面向对象技术&UML"是设计和实现该项目时的关键概念。...

    CXFWS-Security

    1)参考: http://cxf.apache.org/index.html ...http://hi.baidu.com/qianshuifanchuan/blog/item/6291b8510009ad3c42a75b8e.html http://cxf.apache.org/docs/ws-security.html 原本想0分的,但是想想还是要1个吧

    精美简历模板

    在求职过程中,一份精心设计的简历是至关重要的。"精美简历模板"集合了大量精心制作的简历样本,旨在帮助求职者根据自身需求和喜好选择最适合自己的模板,以便在众多应聘者中脱颖而出,吸引面试官的注意力。...

    有关-------seo外链

    百度空间(http://hi.baidu.com)** - **特点**:依托百度搜索的优势,有利于提升搜索引擎排名。 - **建议**:定期发布高质量内容,优化关键词。 **13. 中华网博客(http://blog.china.com)** - **特点**:...

    Fraps 3.0.0破解版

    http://hi.baidu.com/yuwobixing/blog/item/6bb74d51327df00a377abe41.html Fraps 3.0.0破解版 更新版本请关注在下的百度空间: http://hi.baidu.com/yuwobixing/blog/item/6bb74d51327df00a377abe41.html ...

    网上购物系统ASP.NET

    电子商务指的是利用简单、快捷、低成本的电子通讯方式,买卖双方不谋面地进行各种商贸活动[1].随着电子商务魅力的日渐显露,虚拟企业、虚拟银行、网络营销、网上购物、网上支付、网络广告等正在为人们所熟悉和认同,...

    精通MATLAB/GUIDE界面编程

    看完后,保证你已经掌握了MATLAB、GUIDE界面编程,如果不会,请登录我的博客:http://hi.baidu.com/pengjun来留言,我帮助你解决。 另外的工具栏和菜单栏的编程也比较简单,就没有写上去,如果有谁用到,而不会的话...

    ORM框架-VB/C#.Net实体代码生成工具(EntitysCodeGenerate)示例源码

    摘要:VB/C#.Net实体代码生成工具(EntitysCodeGenerate)是一款专门为.Net数据库...http://hi.baidu.com/lxchutao http://download.enet.com.cn/eblog/blog/htm/uid_21280.html http://download.csdn.net/source/3179741

Global site tag (gtag.js) - Google Analytics