The_KIller36
5 Dec 2011, 5:19 AM
Hi,
I'm building an app that shows the contents of webpages in a tabpanel. When I'm searching the internet, I found that I should use iFrames. I tried it but the problem is that the iFrame can not be scrolled. I found out that the panel is scrolling, when you put scrollable to true, but this has no effect on the iFrame. Any suggestions to solve this would be nice!
(btw I also tried to use iscroll, but also this plugin cannot scroll an iframe.)
Here is a panel that is added to a tabpanel.
Ext.create('Ext.Panel', {
extend: 'Ext.Panel',
title: '**website name**',
id: 'website id',
html: '<iframe scrolling="yes" src="http://www.google.com"></iframe>',
config: {
height: screen.height,
width: screen.width,
scrollable: false
}
});
I'm building an app that shows the contents of webpages in a tabpanel. When I'm searching the internet, I found that I should use iFrames. I tried it but the problem is that the iFrame can not be scrolled. I found out that the panel is scrolling, when you put scrollable to true, but this has no effect on the iFrame. Any suggestions to solve this would be nice!
(btw I also tried to use iscroll, but also this plugin cannot scroll an iframe.)
Here is a panel that is added to a tabpanel.
Ext.create('Ext.Panel', {
extend: 'Ext.Panel',
title: '**website name**',
id: 'website id',
html: '<iframe scrolling="yes" src="http://www.google.com"></iframe>',
config: {
height: screen.height,
width: screen.width,
scrollable: false
}
});