[ 2 posts ]

Kevin Wang

  • Username: kevin_wang
  • Joined: Tue Apr 17, 2012 5:08 am
  • Posts: 1
  • Offline
  • Profile

Resize bar not work during resize of layout unit over iframe

Post Posted: Tue Apr 17, 2012 12:08 pm
+0-
I am using the Layout Manager sample: yui/examples/layout/page_layout_source.html. The layout has five panels: top, left, center, right, and bottom. The resize bars work fine with the original code. But, if I replace the content of the center panel with an iframe, the resize bars do not work when I try to enlarge the size of the center panel using the resize bars. The resize bars still work when I try to reduce the size of the center panel.

The original code in page_layout_source.html:
<div id="center1"><p id="toggle"> ... </p></iframe>
</div>

The new code with the iframe:
<div id="center1">
<iframe id="center-frame" src="" frameborder="0" scrolling="auto" style="height:100%;width:100%;">
</iframe>
</div>

I saw a ticket (Ticket #1964055) on 05/14/08 about a similar problem. Does not know why the problem still exists.

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: Resize bar not work during resize of layout unit over if

Post Posted: Tue Apr 17, 2012 2:32 pm
+0-
YUI 2's Drag & Drop has a shim property. You should be able to set that on all the DD instances in the Resize objects:

http://developer.yahoo.com/yui/examples ... -shim.html
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum