Displaying 1 result from an estimated 1 matches for "limit_left".
2005 Jun 23
0
dragdrop library
...init: function(content) {
this.content = $(content);
Droppables.add(this.content, {
accept: ''fe'',
onDrop: function(element) {
window.status = ''Moved '' + element.alt + '' within content.'';
}
});
//this.limit_left = this.content.offsetLeft;
//this.limit_top = this.content.offsetTop;
//var parent = this.content.offsetParent;
//while (parent != null) {
// this.limit_left += parent.offsetLeft;
// this.limit_top += parent.offsetTop;
// parent = parent.offsetParent;
//}
// TODO: Add event li...