In my Sencha-Touch-2 and Phonegap App I want to use an iFrame for displaying HTML content, but
I have problem.
iFrame opens in a new window if the src URL is relative.
Ext.define('test.view.HTMLPanel', {
extend: 'Ext.Panel',
xtype: 'mainhtmlpanel',
config: {
id: 'mainHTMLPanel',
scrollable: 'vertical',
html: '<iframe name="myIframe" width="' + (screen.width - 350) + '" src="file:///mnt/sdcard/MyApp/MyFolder/MyFolder2/32674059.html"></iframe>'
}
});
How could I prevent iFrame opening the 32674059.html
in a new window ?
Thx