-
1 Jun 2011 8:05 AM #11
@sanjshah
There is no line in this extension:
Am I missing something here?Code:if (el.insertAdjacentHTML) {------------------------------------------
Conor Armstrong
tw: @evathedog
web: rockstown.com
Ext.ux.form.AutoCombo
Ext.ux.SimpleIFrame
Ext.ux.form.ToolFieldSet
Knowledge is realising that the street is one-way, wisdom is looking both directions anyway.
-
8 Jun 2011 5:53 AM #12
I had the same problem but discovered that the call to "stuff.show()" was occurring before the page had been fully rendered and the DOM wasn't ready (the "null" element was the doc.body).
To fix the "problem" in your test block, replace the "stuff.show()" with the following:
Hope this helps.Code:Ext.onReady(function () { stuff.show(); });
-
8 Jun 2011 6:02 AM #13Sencha - Community Support Team
- Join Date
- Nov 2008
- Location
- San Diego, Peoples' Republic of California
- Posts
- 2,048
- Vote Rating
- 11
If you do something like this:
Then you can do:Code:// top or main browser window var ext_js = "actual contents of ext-all.js"; eval(ext_js); // the above instead of loading ext-all.js via script tag
in your iframe.Code:eval(top.ext_js);
Not so sure why you'd want the framework inside iframes, since costs so much memory for each instance.
-
14 Jun 2011 1:46 AM #14
@MikeB
Thanks for the fix
I was running my test block from the console once the framework was already loaded, that's why I wasn't getting the error myself.
Change added to original code above.------------------------------------------
Conor Armstrong
tw: @evathedog
web: rockstown.com
Ext.ux.form.AutoCombo
Ext.ux.SimpleIFrame
Ext.ux.form.ToolFieldSet
Knowledge is realising that the street is one-way, wisdom is looking both directions anyway.
-
27 Aug 2011 8:54 AM #15
I'm puting a SimpleIFrame inside a Ext.window.Window and for some reason the window border gets removed (ie the outer frame). I see the title and buttons, but the title area is transparent. I cant move or close the window.
Is there a way to put the frame inside a Ext.window.Window
Thanks
-
27 Aug 2011 9:09 AM #16
Figured out the problem - please ignore above post - nothing to do with SimpleIFrame.
-
12 Sep 2011 11:26 PM #17
why simplleiframe is so low?
why simplleiframe is so low?
I tested simpleiframe in IE6. And I found simpleIframe is lower than using iframe in IE6.
Test page iframe simpleiframe
my page <=6s <=19s
-
19 Sep 2011 11:04 PM #18
I noticed with Firefox 6.0.2 on Windows 7 that I can no longer move a window with the iframecomponent, it seems to just hang (goes grey). Tried various Ext versions 4.0.2, 4.0.6 with the same result. It works OK in Chrome though. Wonder if something is changed in FF recently?
-
10 Oct 2011 2:53 PM #19
@silcreval
Tested this in FF 7.0.1 on Linux - and it seems ok. Was using it to display an email in a window. dragging, maximising etc all work ok.------------------------------------------
Conor Armstrong
tw: @evathedog
web: rockstown.com
Ext.ux.form.AutoCombo
Ext.ux.SimpleIFrame
Ext.ux.form.ToolFieldSet
Knowledge is realising that the street is one-way, wisdom is looking both directions anyway.
-
27 Dec 2011 11:39 AM #20
Problem with Iframe in IOS4
Problem with Iframe in IOS4
I have this problem I use sencha for my mobile web site (for iphone & Ipad). My code is workingnin Chrome, Safari and Iphone and Ipad IOS5 & Android. But in IOS4 the navigation between the items -iconclass) dont work and the result is only a blank page. I dont see the problem in my code and why i have no problem in new version of Ipad and Iphone ?
That is my code and thanks for help !
glossOnIcon: false, onReady: function() { var tabpanel = new Ext.TabPanel({ fullscreen: true, // type: 'light', tabBar: { dock: 'bottom', scroll: 'horizontal', sortable: true, layout: { pack: 'center' } }, items: [ { iconCls: 'home', title: 'Accueil', html: '<div><table style="width: 100%"><tr><td><iframe src="/mobile/ipad/accueil.aspx" name="a1" scrolling="no" frameborder="0" style="position:center; top:0px; left:0px; height: 2000px; width:100%; allowtransparency="false" border:0; border-width:0; border-style:solid; border-color:transparent"></iframe></td></tr></table></div>' }, { iconCls: 'team', title: 'Membre', html: '<div><table style="width: 100%"><tr><td><iframe src="/mobile/ipad/member.aspx" name="a2" scrolling="no" frameborder="0" style="position:center; top:0px; left:0px; height: 2000px; width:100%; allowtransparency="false" border:0; border-width:0; border-style:solid; border-color:transparent"></iframe></td></tr></table></div>' }, { iconCls: 'bookmarks', title: 'Job news',html: '<div><table style="width: 100%"><tr><td><iframe src="/mobile/ipad/job-news.aspx" name="a3" scrolling="no" frameborder="0" style="position:center; top:0px; left:0px; height: 2000px; width:100%; allowtransparency="false" border:0; border-width:0; border-style:solid; border-color:transparent"></iframe></td></tr></table></div>' }, { iconCls: 'time', title: 'Calendrier', html: '<div><table style="width: 100%"><tr><td><iframe src="/mobile/ipad/evenement.aspx" name="a4" scrolling="no" frameborder="0" style="position:center; top:0px; left:0px; height: 2000px; width:100%; allowtransparency="false" border:0; border-width:0; border-style:solid; border-color:transparent"></iframe></td></tr></table></div>' }, { iconCls: 'search', title: 'Recherche', html: '<div><table style="width: 100%"><tr><td><iframe src="/mobile/ipad/recherche.aspx" name="a5" scrolling="no" frameborder="0" style="position:center; top:0px; left:0px; height: 2000px; width:100%; allowtransparency="false" border:0; border-width:0; border-style:solid; border-color:transparent"></iframe></td></tr></table></div>' }, { iconCls: 'chat', title: 'Tweet' , html: '<div><table style="width: 100%"><tr><td><iframe src="/sites/accueilulysoft/mobile/twitter.aspx" name="a6" scrolling="no" frameborder="0" style="position:center; top:0px; left:0px; height: 2000px; width:100%; allowtransparency="false" border:0; border-width:0; border-style:solid; border-color:transparent"></iframe></td></tr></table></div>' }, { iconCls: 'more', title: 'Bonus', html: '<div><table style="width: 100%"><tr><td><iframe src="/mobile/ipad/bonus.aspx" name="a7" scrolling="no" frameborder="0" style="position:center; top:0px; left:0px; height: 2000px; width:100%; allowtransparency="false" border:0; border-width:0; border-style:solid; border-color:transparent"></iframe></td></tr></table></div>' } ], dockedItems: [{ xtype: 'toolbar', dock: 'top', defaults: { ui: 'plain' }, scroll: 'horizontal', layout: { pack: 'center' }, defaults: { iconMask: true, ui: 'plain' }, }] }); } });
Similar Threads
-
Searching for a simple and smart day view component
By begineer2 in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 1 Jul 2009, 2:37 AM -
How to get a Component from iframe
By amosspray in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 1 Apr 2009, 6:13 PM -
which layout is the more simple(as a div tag) to add component?
By fother in forum Ext GWT: Help & Discussion (1.x)Replies: 3Last Post: 23 Jan 2009, 6:53 AM -
New Iframe in ContentPanel from simple layout
By jfaust97 in forum Ext 1.x: Help & DiscussionReplies: 6Last Post: 21 May 2007, 8:11 PM


Reply With Quote