|
@@ -43,7 +43,9 @@
|
|
|
}
|
|
|
//在好友区域添加好友
|
|
|
socket.on('addFriend', function (r) {
|
|
|
- var _fdiv=$$("div",{"innerHTML":r.msg,"style":{"cssText":"width:200px;height:30px;background-color:gray;"}},$("#allFriends")[0]);
|
|
|
+ var _fdiv=$$("div",{"innerHTML":r.msg,"style":{"cssText":"width:200px;height:25px;margin:2px;background-color:gray;"},"onclick":function(){
|
|
|
+
|
|
|
+ }},$("#allFriends")[0]);
|
|
|
//$("#allFriends")[0].innerHTML+=r.msg+'<br>';
|
|
|
});
|
|
|
//登录用户重复提示
|
|
@@ -61,7 +63,7 @@
|
|
|
</div>
|
|
|
<div id='box' >
|
|
|
<div id="messageArea" style="width:500px;height: 300px; border-right:1px solid #dcdcdc; ; float: left;">
|
|
|
- <div style="width:500px;height: 300px; position: absolute; background-color: #dcdcdc;"></div>
|
|
|
+
|
|
|
</div>
|
|
|
<div id="allFriends" style="width:295px;height: 300px; float: left;" ></div>
|
|
|
</div>
|