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

Re: [ydn-javascript] Input fields showing before layout

Expand Messages
  • Dav Glass
    How about setting them to display none via CSS, then after the layout it rendered, set them back to display block; Dav -- Dav Glass davglass@gmail.com
    Message 1 of 2 , Apr 1, 2009
    • 0 Attachment
      How about setting them to display none via CSS, then after the layout
      it rendered, set them back to display block;

      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 Wed, Apr 1, 2009 at 11:00 AM, mestregafanhoto <gsmiro@...> wrote:
      > So, I'm trying to add some text fields to a tab in the bottom pane of a
      > layout. If I add markup to the page and set the tab content to point to the
      > form element:
      >
      > var tab = new YAHOO.widget.Tab({
      > id:'tab0',
      > label: 'Add',
      > contentEl:document.getElementById('myForm'),
      > active: true
      > });
      >
      > and in the markup:
      >
      > <form id="myForm">
      > ...input fields
      > </form>
      >
      > I'll see the input fields rendered in the top of the page and, after the
      > Layout renders, they will be in the right place.
      >
      > The problem is that I don't want the inputs to be displayed in the top of
      > the page, but only after the layout is rendered.
      >
      > Any ideas?
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.