|
|
|
@ -23,6 +23,31 @@ function description_show_hide(id){
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//名片的显示
|
|
|
|
|
function user_card_show_hide() {
|
|
|
|
|
$(".homepagePostPortrait").mouseover(function(){
|
|
|
|
|
onImage = true;
|
|
|
|
|
$(this).children(".userCard").css("display","block");
|
|
|
|
|
});
|
|
|
|
|
$(".homepagePostPortrait").mouseout(function(){
|
|
|
|
|
var cur = $(this);
|
|
|
|
|
onImage = false;
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
if (onUserCard == false && onImage == false){
|
|
|
|
|
$(cur).children(".userCard").css("display", "none");
|
|
|
|
|
}
|
|
|
|
|
}, 500);
|
|
|
|
|
});
|
|
|
|
|
$(".userCard").mouseover(function(){
|
|
|
|
|
onUserCard = true;
|
|
|
|
|
$(this).css("display","block");
|
|
|
|
|
});
|
|
|
|
|
$(".userCard").mouseout(function(){
|
|
|
|
|
onUserCard = false;
|
|
|
|
|
$(this).css("display","none");
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function cleanArray (actual){
|
|
|
|
|
var newArray = new Array();
|
|
|
|
|
for (var i = 0; i< actual.length; i++){
|
|
|
|
|