-
12 Nov 2008 6:44 AM #521
scrollbar
scrollbar
hi,
i have some iframe panels, in ie i see always the scrollbar area, in firefox is all clean, look at the pictures:
in ie:

in ff:

my code:
how can i turn off the scrollbar in the iframe?PHP Code:var panel = new Ext.ux.ManagedIframePortlet({
id: 'test',
height: 250,
frame: false,
tools: tools,
title: '<? echo $datum; ?> ' + jRecord.get("line") + ' ' + jRecord.get("standort"),
defaultSrc: 'chart.php?line=' + jRecord.get("lineid") + '&standortid=' + jRecord.get("standortid") + '&datum=<? echo $datum; ?>&stunden=<? echo $stunden; ?>&ajax=<? echo $ajax; ?>',
collapsible:false
});
-
12 Nov 2008 3:21 PM #522
Error when reopening window containing IFrame
Error when reopening window containing IFrame
I have run into a problem with the ManagedIframePanel extension. I have used it in both the Extjs Desktop sample as well as qWikiOffice with the same results, and I'm using the extension version 1.2.2.
I can open a window that contains an Iframe:
The window will interact fine with the iframe, but if I close the window and try to reopen it, I get the following error message in Firebug:PHP Code:new Ext.ux.ManagedIframePanel({
region:'center',
defaultType: 'iframepanel',
collapsible: true,
baseCls: 'x-panel',
autoScroll: false,
animCollapse: false, //cannot animate a collapse/expand on an Iframe !
loadMask: true,
tbar: GridTbar,
html: ''
})
A blank window will appear, but nothing else. I've tried this in FF3, IE7, and Chrome.PHP Code:this.body is undefined
ext-all.js (line 76)
-
12 Nov 2008 4:02 PM #523
"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.
-
12 Nov 2008 4:08 PM #524
PHP Code:Ext.override(QoDesk.mmChangeItemcode, {
createWindow : function(){
var desktop = this.app.getDesktop();
var win = desktop.getWindow('mm-ChangeItemcode-win');
if(!win){
win = desktop.createWindow({
autoScroll: true,
id: 'mm-ChangeItemcode-win',
title: 'Change Itemcode',
width:1000,
height:400,
iconCls: 'mm-ChangeItemcode-icon',
layout: 'fit',
items: ModulePanel,
shim:false,
animCollapse:false,
constrainHeader:true,
taskbuttonTooltip: 'Makes system-wide changes to an item\'s code'
});
}
win.show();
}
});
...
var IPanel = new Ext.ux.ManagedIframePanel({
region:'center',
defaultType: 'iframepanel',
collapsible: true,
baseCls: 'x-panel',
autoScroll: false,
animCollapse: false, //cannot animate a collapse/expand on an Iframe !
loadMask: true,
tbar: GridTbar,
html: ''
});
var ModulePanel = new Ext.Panel({
border: false,
layout: 'border',
items: [
SearchPanel,
IPanel
]
});
-
12 Nov 2008 4:44 PM #525
@JErickson -- I just added this MIF setup to 2.2/examples/desktop and got no errors at all opening/closing the defined App.window:
Load ext-all-debug.js, and use Firebug and examine the stack trace for the error. Are you sure it's not the SearchPanel crying out?Code:MyDesktop.MIFModule= Ext.extend(Ext.app.Module, { id:'MIF-win', init : function(){ this.launcher = { text: 'MIF Window', iconCls:'icon-grid', handler : this.createWindow, scope: this } }, createWindow : function(){ var desktop = this.app.getDesktop(); var win = desktop.getWindow('MIF-win'); if(!win){ win = desktop.createWindow({ id: 'MIF-win', title:'MIF Window', width:740, height:480, shim:false, animCollapse:false, constrainHeader:true, layout: 'border', items: new Ext.ux.ManagedIframePanel({ region:'center', collapsible: true, html: '' }) }); } win.show(); } });
Lemme know what you find."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.
-
12 Nov 2008 11:14 PM #526
-
13 Nov 2008 4:22 AM #527
@richie-- From what little I can see of the IE image, looks more like a toolbar issue than scrollbars on the iframe.
But, to add additional attributes to the IFRAME, addto your MIFPortlets to force them off.Code:frameConfig : {scrolling:'no'}"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.
-
13 Nov 2008 10:02 AM #528
I've got it working with the Ext Desktop system. It turned out that my only problem there was using the Iframe inside a TabPanel that didn't have deferredRender turned off.
I'm still having problems using it on the qWikiOffice system, so I'll go bug the good folks there.
Thanks for your help.
-
14 Nov 2008 1:33 AM #529
yes, thats right, this is a toolbar in the iframe source. but when il show me the source alone in the webbrowser (not in a iframe) than als is perfekt, and the toolbar and outher elements going till the right border, only in the iframe and when the browser is an ie, then i have this place between border and toolbar.
withdont workCode:frameConfig : {scrolling:'no'}
-
14 Nov 2008 1:42 AM #530
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )


Reply With Quote



