javascript - How to make an iFrame inserted by Chrome Extension draggable? -
in chrome extension, i'm trying add iframe containing clickable buttons on web pages @ fixed position. avoid occlusion, want make iframe draggable. reason need iframe isolate css.
i have tried many hacks such making transparent div overlay iframe, mouse events , translate jquery mousemove events iframe parent div jumpy, tried using library http://javascripttoolbox.com/lib/dragiframe/ nothing works smoothly.
jquery ui's draggable() not work expected because iframe interferes click events.
what should do?
Comments
Post a Comment