Log in

View Full Version : Problem opening div in iframe



NikhilSrivastava
12-13-2006, 10:25 AM
Hi,
I have a page which is a include of an image and an iframe.
The iframe has some contents and an info icon which open up a <div> with more detailed contents. the div can be dragged.
The functionality is working fine but the only problem is when i drag the div beyond the limits of the iframe, the div goes inside the top(parent) window.

I have attached the screenshot stating the problem.
Can somebody let me know how can get the div outside the frame.

Thanks in advance.
Nikhil Srivastava

jscheuer1
12-14-2006, 06:47 AM
I can't tell anything from that image but, I can tell you that a division on a page inside an iframe cannot be dragged outside that iframe without being removed from the iframe content page and placed on the top page. The scripting for this is possible, in theory at least. I've never seen it in practice though. It would be easier to skip the iframe, simulating its effect with a scrollable division, it would still be complicated to code but, I have seen that done.