姑苏网
全站皇冠国际 网友中心
   帮助  
'; bgObj.innerHTML=creatceng; $("creatceng1").innerHTML=''; $("creatceng1").appendChild(bgObj); creatfriendlist1(0); getfriendfz1(); } //生成好友列表 function creatfriendlist1(fgroupid){ var x = new Ajax('HTML'); x.get('include/gsw/getfriend1.php?inajax=1&typ=1&fgroupid='+fgroupid+'&n='+Math.random(), function(s) { //s=unescape(s); var creatceng=''; var display=''; var classname=''; eval(s); friendlist=''; friendlist=creatceng; //alert(creatceng); $("1").innerHTML=friendlist; }); $("searchList").innerHTML=''; $("1").innerHTML=friendlist; if($("group"+lastfgroupid)){ $("group"+lastfgroupid).className="group"; $("group"+fgroupid).className="group on"; } lastfgroupid=fgroupid; } //获取好友分组 function getfriendfz1(){ var x = new Ajax('HTML'); x.get('include/gsw/getfriend1.php?inajax=1&typ=2&n='+Math.random(), function(s) { //s=unescape(s); $("atuserfz").innerHTML=s; if($("fgroupmore")) { $("fgroupmore").onmouseover=function(){ $("fgroupmorelist").style.display="block"; } $("fgroupmore").onmouseout=function(){ $("fgroupmorelist").style.display="none"; } } }); } function followClose1(){ friendlist=''; $("creatceng1").removeChild($("bgdiv1")); } function chkuser1(uid,username,e){ if (e && e.stopPropagation) { //W3C取消冒泡事件 e.stopPropagation(); } else { //IE取消冒泡事件 event.cancelBubble = true; } if(!in_array(uid,selectuser)){ //用户不存在数组中,将用户ID写入 if((usermaxlen-selectuser.length)>0){ selectuser.push(uid); $("selected"+uid).style.display="block"; $("remain-num").innerHTML=Number($("remain-num").innerHTML)-1; selectusername.push(username); $(uid).className="selected"; } }else{ //用户存在数组中,再次点击时将该用户移除 //selectuser.remove(uid); selectuser=delarr(selectuser,uid); //selectusername.remove(username); selectusername=delarr(selectusername,username); if($("bgdiv1")!=null){ $("remain-num").innerHTML=Number($("remain-num").innerHTML)+1; if($(uid)!=null){ $(uid).className=""; $("selected"+uid).style.display="none"; } } } showatusername1(); } function showatusername1(){ var atuids=selectuser.join(','); $("atuids1").value=atuids; if(selectusername.length){ var usernamelist=''; var fg=''; for(var i=0;i0){ fg=','; } usernamelist+=fg+selectusername[i]+'×'; } $("atuser1").innerHTML=usernamelist; }else{ $("atuser1").innerHTML='@你关注的人,就可以第一时间通知到TA哦'; } } //AJAX搜索好友 function seachfriend1(){ //event.cancelBubble=true; var username=trim($("seachuser").value); if(username!=''){ var x = new Ajax('HTML'); x.get('include/gsw/getfriend1.php?inajax=1&typ=1&seachname='+username, function(s) { //s=unescape(s); var creatceng=''; var display=''; var classname=''; eval(s); friendlist=''; friendlist=creatceng; //alert(creatceng); $("1").innerHTML=friendlist; }); $("searchList").innerHTML='返回列表'; } }

[可按 Ctrl+Enter 发布]  预览  恢复数据 (发帖失败点击恢复)  清空内容

找客服

回顶部

美高梅|皇冠国际官网 美高梅|皇冠国际官网 盛世集团 盛世国际