$(span).mousemove(function() {
var event = arguments[0]||window.event;
$(this).find("div").css( 'display', 'block');
$(this).find("div").css({ top: event.clientY+$(document).scrollTop()+10, left: event.clientX+$(document).scrollLeft()+10});
}).mouseout(function() {
var event = arguments[0]||window.event;
$(this).find("div").css('display','none');
});
详细解决方案
鼠标追随代码
热度:92 发布时间:2012-10-28 09:54:44.0
相关解决方案