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

Re: [ydn-javascript] Resizing LayoutUnits

Expand Messages
  • Dav Glass
    This is the correct syntax: layout.getUnitByPosition( bottom ).on( resize ,function() {}); If that is not working, please post a link so we can help you debug
    Message 1 of 2 , Mar 31, 2009
    • 0 Attachment
      This is the correct syntax:
      layout.getUnitByPosition('bottom').on('resize',function() {});

      If that is not working, please post a link so we can help you debug it.

      Dav

      --
      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 +



      On Tue, Mar 31, 2009 at 5:29 AM, mestregafanhoto <gsmiro@...> wrote:
      > Folks,
      >
      > I'm quite new to YUI so please forgive me for the basic question.
      > I have a layout with right and bottom tabs. The bottom tab contains a
      > TabView. I'd like to make the TabView resize every time the bottom unit
      > resizes. Any idea how can I do it? Apparently using
      >
      > layout.getUnitByPosition('bottom').on('resize',function...);
      >
      > doesn't work. Also using
      >
      > YAHOO.util.Event.addListener(layout.getUnitByPosition('bottom'),'resize',function(){...})
      >
      > did not work either.
      >
      > Regards!
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.