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
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
|
|
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
|
|
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> <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> ![]() |
IFrame滚动问题
用户Johan在使用包含多个标签页及内嵌iFrame的BorderLayout布局时遇到滚动条异常问题。当iFrame内的页面重新加载后,滚动条会自动滚动到与标签页相同的高度。
5888

被折叠的 条评论
为什么被折叠?



