www.1862.net > oFFsEtx oFFsEty

oFFsEtx oFFsEty

obj.onclick = function(e) { e = e window.event; alert( e.offsetY e.layerY ); }

obj.onclick = function(e) { e = e || window.event; alert( e.offsetY || e.layerY ); }

"offsetX":"0","offsetY":"140"},{"mapId":"102","name":"京城","offsetX":"0","offsetY":"180"},{"mapId&quo...

这里有一个弹出层效果 能锁屏(窗口变灰,要覆盖整个页面) 还能相对浏览器定位和居中 里面有教程和源码 参考资料:

网站地图

All rights reserved Powered by www.1862.net

copyright ©right 2010-2021。
www.1862.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com