Iframes, panels and scrolling... - Ext JS

Hi

I having problems with scrolling and panels.

I have a borderlayout with a west and center region. The center region can have multiple tabs with an iframe. The iframe contains radion buttons and dropdowns, that sometimes reloads a page...
Then it scrolls up the same height that the tabs are.

Page looks fine before:


But after the page are reloaded it is scrolled the same amount of height as the tabs?


using autoscroll on the borderlayout and fittoframe on iframe...
tried to alter these but the same result...

// Johan
  # 2  
02-21-2007, 11:17 AM

Ext doesn't touch the iframe or scroll positions. My question would be, are you using display none anywhere that would hit the iframe or do you have "hideOnLayout" set to true?
  # 3  
02-21-2007, 12:39 PM

Hi Jack,

I do not use display none or "hideOnLayout". The iframe however loads a page using framesets...
And when I reloads one of the frames this happens. It is an old application I try to apply this to.

<frameset frameborder="1" border="1" framespacing="1" rows="180,1*">

  <frame frameborder="1" scrolling="no" name="FrameUpper" src="SingleCatNav2?OpenForm&AreaCode=710&BaseTarget=FrameLower">
  <frame frameborder="1" scrolling="yes" name="FrameLower" src="HelpLU.Key/Projektprocess?OpenDocument">

</frameset>
However, if I change the frameset into a page using to iframes instead, I can get it to work if I resize the second one to fit the region in the content panel.

<iframe id="FrameUpper" frameborder="0" scrolling="no" width="100%" height="180" src="SingleCatNav2?OpenForm&AreaCode=710BaseTarget=FrameLower"></iframe>
<iframe id="FrameLower" frameborder="0" width="100%" src="Quality0.nsf/HelpLU.Key/Projektprocess?OpenDocument"></iframe>
But this is not a good solution. I have to think on something else...

你可能感兴趣的:(ext,UP)