I am using jquery ui draggables and droppables.
To keep things simple in explanation I am trying to drop an element onto another element which is contained inside an iframe.
When I bind the sortable from the outermost page it works but it seems to move the 'hotspots' so that if I request the id attribute of the element I've dropped it onto it gives me a different element.
I think I know the reason for this. The offset for the droppable inside the iframe uses the body attribute of the outermost as the positioning context because my jQuery that does the binding exists in the outermost page.
What I can't figure out is how to rectify this without re-writing the plugin. Ideally if an offsetParent could be specified it would solve my problem - I think!
Thanks for any help anyone can be.