就你这段代码而言, 没有什么问题的呀:
function show_thisUserInfo_lay_from_list(val1)
{
var scroll_h = parseInt(parent.document.body.scrollTop);
if(scroll_h == 0) scroll_h = 112;
with(top.document.all.thisUserInfo_lay_from_list.style)
{
left = (screen.width-12)/2;
top = scroll_h;
display = "";
position= "absolute";
}
top.document.all.thisUserInfoCard_from_list.src = "/thisUserInfoCardAction.do?userid="+ val1;
}
function show_thisUserInfo_lay_from_list(val1)
{
var scroll_h = parseInt(parent.document.body.scrollTop);
if(scroll_h == 0) scroll_h = 112;
with(top.document.all.thisUserInfo_lay_from_list.style)
{
left = (screen.width-12)/2;
top = scroll_h;
display = "";
position= "absolute";
}
top.document.all.thisUserInfoCard_from_list.src = "/thisUserInfoCardAction.do?userid="+ val1;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货