function doThis()
{
var a = document.getElementById(\"addYear\");
a.style.left=(document.body.clientWidth/2-a.clientWidth/2)+\"px\";
a.style.top=(document.body.scrollTop+document.body.clientHeight/2-a.clientHeight/2)+\"px\";
}
本文地址:https://www.stayed.cn/item/13864
转载请注明出处。
本站部分内容来源于网络,如侵犯到您的权益,请 联系我