Hello!
I try to load html file into jqxWindow without using <iframe>
I try this:
$(“#jqxWin1″).jqxWindow(‘setContent’, ‘<object type=”text/html” data=”invent.html” width=”400″ height=”250″></object>’);
but don’t show nothing.
I try this:
(“#jqxWin1”).jqxWindow({ height: 250, width: 400, isModal: true, theme: ‘energyblue’, initContent: function () {
$(“#win1Content”).load(‘<object data=”invent.html” width=”400″ height=”250″></object>’);
}
});
Just show the empty window.
With <iframe> works fine!
$(“#jqxWin1″).jqxWindow(‘setContent’, ‘<iframe class=”noScrolling” scrolling=”no” src=”invent.html”></iframe>’);
Why <object> and not <iframe>?
Just for compatibility on html5
Thanks for your help!
Alex