摘要:
1.固定一个层在页面的位置,不受滚动条影响,属性position:fixed,如: .tbar{ height:200px;width:60px;background-color:#666;position:fixed;left:10px;top:10px; } 阅读全文
摘要:
1.获取鼠标坐标,考虑滚动条拖动var e = event || window.event;var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;var scrollY = document.doc... 阅读全文