/*Floating fixed layer at any position*/
/*No Sword (http://regedit.cnblogs.com) 08-03-11*/
/*Description: You can make the specified layer float to the web page Any position, when the scroll bar scrolls, it will remain at the current position and will not flash*/
/*Call:
1 No parameter call: Default float in the lower right corner
$( "#id").floatdiv();
2 built-in fixed position float
//lower right corner
$("#id").floatdiv("rightbottom");
/ /Lower left corner
$("#id").floatdiv("leftbottom");
//Lower right corner
$("#id").floatdiv("rightbottom");
/ /Upper left corner
$("#id").floatdiv("lefttop");
//Upper right corner
$("#id").floatdiv("righttop");
/ /Center
$("#id").floatdiv("middle");
3 Custom position float
$("#id").floatdiv({left:"10px" ,top:"10px"});
With the above parameters, set the floating layer at 10 pixels from the left and 10 pixels from the top
*/
Online demonstrationhttp:// img.jb51.net/online/jquery.floatDiv/demo.htm
File Packaginghttp://img.jb51.net/online/jquery.floatDiv/jquery.floatDiv.rar