User:MarkS/extraeditbuttons.js: Difference between revisions

Content deleted Content added
MarkS (talk | contribs)
Replace with dev code - option to turn off popups added
MarkS (talk | contribs)
Copy of dev code - Bug fix for Mozilla browser
Line 341:
 
curPopup.startDrag.mouse=m;
curPopup.startDrag.floatfloatpopup.y=parseInt(curPopup.div.style.top);
curPopup.startDrag.floatfloatpopup.x=parseInt(curPopup.div.style.left);
curPopup.dragging=true;
 
Line 357:
 
m=new GetPos(e||event);
x=parseInt(curPopup.startDrag.floatfloatpopup.x+(m.x-curPopup.startDrag.mouse.x));
y=parseInt(curPopup.startDrag.floatfloatpopup.y+(m.y-curPopup.startDrag.mouse.y));
 
curPopup.div.style.top=y+"px";
curPopup.div.style.left=x+"px";
 
Line 390:
 
this.startDrag=new Object;
this.startDrag.floatfloatpopup=new Object;
 
}