PDA

View Full Version : Mulitple iframe within contentPanel



Greeens
29 May 2007, 10:34 AM
Hi all,

I'm using the one iframe in region west and one iframe in region center.

westPanel = new Ext.ContentPanel('one', {fitToFrame:true});
layout.add('west',westPanel);

center = layout.getRegion('center');
center.add(new Ext.ContentPanel('twp', {fitToFrame:true}));

HTML:
<iframe id="one" name="treeframe" src="a.html" frameborder="0"></iframe>
<iframe id="two" name="basefrm" src="b.html" frameborder="0"></iframe>


It works fine the first time I load the page. However, when I try to go to a different web page in the same browser and then hit Back to go back to the original page, I got both iframe showing b.html.

This is weird. Does anyone know why?

Thanks!!!

cocorossello
29 May 2007, 11:35 PM
Only in firefox or in explorer too?