Results 1 to 2 of 2

Thread: Problem opening div in iframe

  1. #1
    Join Date
    Dec 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem opening div in iframe

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •