Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Layout Manager does not resize with the textarea element

Expand Messages
  • Dav Glass
    Try turning on the useShim option: http://developer.yahoo.com/yui/docs/YAHOO.widget.LayoutUnit.html#config_useShim var layout = new YAHOO.widget.Layout( , {
    Message 1 of 4 , Oct 3, 2009
    • 0 Attachment
      Try turning on the useShim option:
      http://developer.yahoo.com/yui/docs/YAHOO.widget.LayoutUnit.html#config_useShim

      var layout = new YAHOO.widget.Layout('', {
      units: [
      { position: 'left', useShim: true, resize: true }
      ]
      });
      layout.render();

      Dav


      On Sat, 03 Oct 2009, ibbby21 wrote:

      > I am using a layout manager(Top, left, center). Resizing is enabled on the left unit. I have a textarea element in the center unit. The resize handle of the left unit is next to the textarea. So when I grab the handle and try to extend the left unit it does not work. But when I grab the left unit at a level higher than the textarea, it works, I can resize it. Anybody has an idea on why the resize will not work when it is being applied at the textarea level, and how to fix this problem?
      >
      > Thanks,
      >

      --
      Dav Glass
      davglass@...
      blog.davglass.com


      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +
    • ibbby21
      Hi Dave, Thank you for your answer. useShim is helping a little bit, but the problem that remains is that the layout manager does not resize when, I drag and
      Message 2 of 4 , Oct 5, 2009
      • 0 Attachment
        Hi Dave,

        Thank you for your answer. useShim is helping a little bit, but the problem that remains is that the layout manager does not resize when, I drag and release the mouse. I have to actually click after dragging, then it will resize. Any suggestion on that one.

        Thanks,

        --- In ydn-javascript@yahoogroups.com, Dav Glass <davglass@...> wrote:
        >
        > Try turning on the useShim option:
        > http://developer.yahoo.com/yui/docs/YAHOO.widget.LayoutUnit.html#config_useShim
        >
        > var layout = new YAHOO.widget.Layout('', {
        > units: [
        > { position: 'left', useShim: true, resize: true }
        > ]
        > });
        > layout.render();
        >
        > Dav
        >
        >
        > On Sat, 03 Oct 2009, ibbby21 wrote:
        >
        > > I am using a layout manager(Top, left, center). Resizing is enabled on the left unit. I have a textarea element in the center unit. The resize handle of the left unit is next to the textarea. So when I grab the handle and try to extend the left unit it does not work. But when I grab the left unit at a level higher than the textarea, it works, I can resize it. Anybody has an idea on why the resize will not work when it is being applied at the textarea level, and how to fix this problem?
        > >
        > > Thanks,
        > >
        >
        > --
        > Dav Glass
        > davglass@...
        > blog.davglass.com
        >
        >
        > + Windows: n. - The most successful computer virus, ever. +
        > + A computer without a Microsoft operating system is like a dog
        > without bricks tied to its head +
        > + A Microsoft Certified Systems Engineer is to computing what a
        > McDonalds Certified Food Specialist is to fine cuisine +
        >
      • Dav Glass
        That usually indicates an Error on the page. Try loading a JS debugger to trap the error.. Dav ... -- Dav Glass davglass@gmail.com blog.davglass.com + Windows:
        Message 3 of 4 , Oct 5, 2009
        • 0 Attachment
          That usually indicates an Error on the page. Try loading a JS debugger
          to trap the error..

          Dav

          On Mon, 05 Oct 2009, ibbby21 wrote:

          > Hi Dave,
          >
          > Thank you for your answer. useShim is helping a little bit, but the problem that remains is that the layout manager does not resize when, I drag and release the mouse. I have to actually click after dragging, then it will resize. Any suggestion on that one.
          >
          > Thanks,
          >
          > --- In ydn-javascript@yahoogroups.com, Dav Glass <davglass@...> wrote:
          > >
          > > Try turning on the useShim option:
          > > http://developer.yahoo.com/yui/docs/YAHOO.widget.LayoutUnit.html#config_useShim
          > >
          > > var layout = new YAHOO.widget.Layout('', {
          > > units: [
          > > { position: 'left', useShim: true, resize: true }
          > > ]
          > > });
          > > layout.render();
          > >
          > > Dav
          > >
          > >
          > > On Sat, 03 Oct 2009, ibbby21 wrote:
          > >
          > > > I am using a layout manager(Top, left, center). Resizing is enabled on the left unit. I have a textarea element in the center unit. The resize handle of the left unit is next to the textarea. So when I grab the handle and try to extend the left unit it does not work. But when I grab the left unit at a level higher than the textarea, it works, I can resize it. Anybody has an idea on why the resize will not work when it is being applied at the textarea level, and how to fix this problem?
          > > >
          > > > Thanks,
          > > >
          > >
          > > --
          > > Dav Glass
          > > davglass@...
          > > blog.davglass.com
          > >
          > >
          > > + Windows: n. - The most successful computer virus, ever. +
          > > + A computer without a Microsoft operating system is like a dog
          > > without bricks tied to its head +
          > > + A Microsoft Certified Systems Engineer is to computing what a
          > > McDonalds Certified Food Specialist is to fine cuisine +
          > >
          >
          >

          --
          Dav Glass
          davglass@...
          blog.davglass.com


          + Windows: n. - The most successful computer virus, ever. +
          + A computer without a Microsoft operating system is like a dog
          without bricks tied to its head +
          + A Microsoft Certified Systems Engineer is to computing what a
          McDonalds Certified Food Specialist is to fine cuisine +
        Your message has been successfully submitted and would be delivered to recipients shortly.