62,046
社区成员
发帖
与我相关
我的任务
分享
//父页定义个js函数
function showpop(str, x, y, width, height)
{
var div=document.createElement("div");
div.style.position="absolute";
div.style.top=y;
div.style.left=x;
div.style.height=width;
div.style.width=height;
document.appendChild(div);
div.innerHTML = str;
}
//子页面调用
parent.showpop(TopPagediv的HTML码, 100, 100, 100, 100);