10 Sep 2010 10:03 AM #1
How to display web page in Ext.Panel
Hi everyone. I would simply like to display a web site on a standard Ext.Panel frame, so it effectively behaves like a browser container.
It's pretty simple idea, but I am stumped on how to code it. I tried using <iframe> in the html property but it doesnt scroll or behave properly. Any ideas?
11 Sep 2010 11:24 AM #2
Use <embed> tags instead of <iframe>
The issue is when embedding an external html document the panel looses some of its scrolling functionality. I havn't tried it on .94 so they may have changed it.
11 Sep 2010 6:02 PM #3
Update: Thanks friend, I've tried it and it works! Although not fully anyway, scrolling is abit weird and sometimes pinching does not work properly (ex yahoo.com). I've come to conclude that Sencha a this time isint able to provide full browsing experience with its Panel interface (iPhone SDK should have some objects that can do this but I'm not into that yet), maybe should look into it in future releases.
11 Sep 2010 7:11 PM #4
it isn't supposed to "provide a full browsing experience". You may have missed the point of Sencha Touch.
Become familiar with modern web design for mobile devices. understand webkit and mobile safari.
After u get around Xcode for awhile and figure out the basics and get through some sample code.
Try repurposing a sample app on the developer.apple.com web site.
Then figure out how to install the phonegap template.
Then embed Sencha Touch into the www file in your phonegap project.
Then you'll get Sencha Touch's purpose.
17 May 2012 10:31 PM #5
Solution to scrolling error :
Call the pages using an ajax request, and then update the panel with the request.responseData
By santoshsatav in forum Ext 3.x: Help & DiscussionReplies: 12Last Post: 24 Nov 2010, 2:42 AM
By kadser in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 8 Jun 2010, 12:58 AM
By Cem in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 25 Mar 2010, 3:38 PM
By DirtDog in forum Ext 2.x: Help & DiscussionReplies: 8Last Post: 16 Apr 2009, 9:33 AM
By leonardzheng in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 21 Jan 2008, 9:32 AM