代码如下:
/*
* Copyright (c) 2010 刘建华
*
* The above copyright notice shall be
* included in all copies or substantial portions of the Software.
* Example:
divdemo/div
divdemo/div
script type="text/javascript"
var o = $(document);
o.mousemove( function(e){
var d = document.getElementById("demo");
d.style.left = ($.mouse(e).left + 5) + "px";
d.style.top = ($.mouse(e).top + 5) + "px";
});
/script
*/
/*
* mouse Plugin for jQuery
* Version: 1.0
* Release: 2...
[ 查看全文 ]