navPanel = new YAHOO.ext.ContentPanel('nav', {title: 'Navigation', fitToFrame:true, closable:false});
layout.add('west', navPanel);
layout.add('center', new YAHOO.ext.ContentPanel('main', {title: 'Auto Tabs', closable: true}));
layout.add('center', new YAHOO.ext.ContentPanel('autoTabs', {title: 'Auto Tabs', closable: true}));
layout.getRegion('center').showPanel('main');
// restore any state information
layout.restoreState();
layout.endUpdate();
}
}
}();
YAHOO.ext.EventManager.onDocumentReady(Example.init, Example, true);
Is that path to ../images correct? I seem to recall a diff btwn IE and FF with regard to how that path is resolved. Should it be ./images (i.e. a subdir of the folder where the HTML pages resides)?
Should not be that problem.
IE 6 show iframe_demo.html page correctly, and if it can't find the image, it will show a 'not found' image.
If i put a button(e.g. <input type=button name=btn1 value=OK>) in that page, the button not show either.
Thank you for your quick response!
This is not a bug yui-ext. yui-ext does not decide how images are included in iframes. If the browsers are translating your path differently, try an absolute path.