62,254
社区成员
发帖
与我相关
我的任务
分享tmp2 += " <BR><table width=\"100%\"><tr><td height=25 align=\"right\"> <A href=/Abstract.aspx?id=" + dt2.Rows[j]["id"].ToString() + " target=blank >Abstract </A> ";

<td cusid="<%# Eval("id").ToString()%>" tbtype="<%# Eval("tbtype").ToString()%>" align="center">
>>查看联系内容
</td> #HintMsg{display:none; position:absolute;width:500px; background-color:#FFFCE7; box-shadow: 0 1px 5px #f6ba4d;
border-radius:5px; border:solid 1px #F8CC7E; padding:5px; line-height:23px;}$(".table-list>tbody>tr").find("td:eq(7)").hover(function () {
var nowDom = $(this);
$("#HintMsg").remove();
$.ajax({
type: "get",
url: "....ashx?opreate=contactinfo" + "&id=" + $(this).attr("cusid") + "&tbtype=" + $(this).attr("tbtype") + "&pDate=" + (new Date().getTime()),
success: function (HintHtml) {
$("body").append(HintHtml);
var offset = nowDom.offset();
//alert(document.body.clientHeight);
var _tempTop = (document.body.clientHeight - offset.top) > $("#HintMsg").height() ? offset.top : offset.top + nowDom.height() - $("#HintMsg").height() - 10;
$("#HintMsg").css({ "top": _tempTop + "px", "left": offset.left - 511 + "px" });
$("#HintMsg").show();
},
error: function () {
alert("数据获取失败!");
}
});
}, function () {
$("#HintMsg").remove();
})