is up and ready for download.![]()
is up and ready for download.![]()
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
Hi
I'm trying to use ManagedIFrame, but I have an issue.
I want to load manually an IFrame using the update function
I can see into the IFrame the "click me" button, but when I push it I receive "test" is not defined.Code:var vContent = "<html><head><script>function test(){alert('hello');}</script></head><body><button onclick='test();'>click me</button</body></html>"; var vIFrame = new Ext.ux.ManagedIFrame.Panel({frame: true, autoScroll: true} ); vMainPanel.add(vIFrame); vMainPanel.doLayout(); vIFrame.getFrame().update(vContent );
Why?
Maybe I make same mistakes... or this extension is not the right way to do it.
Thanks
Roberto
I'm sorry..
I found my mistake....
must beCode:vIFrame.getFrame().update(vContent );
Code:vIFrame.getFrame().update(vContent, true );
I tried running the demos listed in your first post but they all seem to have problems with the mask. Using FF3
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
Nope same problem.
For the Window demo, I get this error:
I also tried with Chrome.Code:_gat is not defined http://demos.theactivegroup.com/startup.js?_dc=1246899649475 Line 206
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
Perfect - thanks!
Here is a test case that no longer works when I include MIF in my project.
I getCode:var msgCt = Ext.DomHelper.insertFirst(document.body, {id:'test',style:'position:absolute;z-index:10000'}, true); var m = Ext.DomHelper.append(msgCt, {html:'<div class="my-msg">Message</div>'}, true); msgCt.alignTo(document, 't-t'); console.log(m);Any ideas?Code:TypeError: el.style is undefined
@zombeerose -- There have been some internal changes to Ext/Core 3.0 RC3, but in general, alignment and centering is based upon the target's (centering) style object. document has no style object.
You should be using :
Code:msgCt.alignTo(document.body, 't-t');
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.