摘要:
html: <div class="sand-content fl"> <img src="images/sand_900x600c.jpg" alt="" id="sandPicture"> </div> css: .sand-content { position: relative; width 阅读全文
摘要:
宽高: javascript: offsetWidth jquery: outerWidth clientX 事件属性返回当事件被触发时鼠标指针相对于浏览器页面(或客户区)的水平坐标(垂直坐标)。 客户区指的是当前窗口。 显示出事件发生时鼠标指针的坐标。 clientX:当鼠标事件发生时(不管是on 阅读全文