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

Re: strange(?) behaviour with overlay.show()

Expand Messages
  • Stuart Grimshaw
    ... It would seem that setting visible: false when you define your container is not enough, you also have to set it s css visibility property to :none as
    Message 1 of 2 , Jun 4, 2007
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "Stuart Grimshaw"
      <stuart.grimshaw@...> wrote:
      >
      > I have a container that I have added a containerEffect to, and what
      > looks like is happening is that when I do container.render() it is
      > hiding the overlay with the effect, rather than just drawing it hidden
      > in the first place.
      >
      > Is this the expected behaviour? (With YUI v2.2.0) or is there anything
      > I can do to stop it?
      >
      > Have a look here for a demo of what I mean, and the source I'm using.
      >
      > http://www.sgrimshaw.eclipse.co.uk/sandbox/yahooui_sample.htm
      >

      It would seem that setting "visible: false" when you define your
      container is not enough, you also have to set it's css visibility
      property to :none as well, then it all seems to work Ok.
    Your message has been successfully submitted and would be delivered to recipients shortly.