`

jquery 拖动层

 
阅读更多

祥细地址:http://fromvega.com/wordpress/2007/07/14/easydrag-jquery-plugin/

 

 

How does it work?

It’s very simple, first you call the easydrag() method as in the old version and then you call the setHandler() method passing to it the id of the element that will act as the handle. The handle MUST be a child element of the content that will be dragged.

$("#box2").easydrag();
$("#box2").setHandler('handler3');

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics