jQWidgets Forums

jQuery UI Widgets Forums General Discussions Layouts Splitter Dragging over iframe in jqxwindow

This topic contains 3 replies, has 2 voices, and was last updated by  hypertyper 10 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Dragging over iframe in jqxwindow #58941

    hypertyper
    Participant

    Hi,

    the jqxSplitter component seems not to work properly when one of the “panels” is a iframe and the whole thing is in a jqxWindow.

    You can see the problem here:
    http://jsfiddle.net/33cwD/47/

    Can you provide a solution for that problem? 🙂

    Thanks in advance
    Robert

    Dragging over iframe in jqxwindow #59364

    hypertyper
    Participant

    Has anyone an idea? The same problem is when you try to resize a window on its bottom right corner and an iframe is behind the window…

    Dragging over iframe in jqxwindow #59365

    Peter Stoev
    Keymaster

    Hi Robert,

    When your content is IFrame, then thsi means that you have a document within document and the Splitter is from the Top Document and can work with its Document’s Events. The IFrame’s Document has its own events and DOM. Basically, we cannot intercept events which come from other documentes and so we do not have a solution for you.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Dragging over iframe in jqxwindow #59568

    hypertyper
    Participant

    Hi Peter,

    thank you for your true answer. Okay, I was thinking you have a solution that works.

    As workaround you could replace all the visible iframes in the document with a div container when the resizing begins and undo that when the resizing ends. It’s not perfect but it’s better than when it doesn’t work at all.

    I’ve updated the jsFiddle to support that. Maybe you can implement this as default behaviour:
    http://jsfiddle.net/33cwD/52/

    Best Regards,
    Robert

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.