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

Re: how to disable background like the prototype window?

Expand Messages
  • markthienkm
    I love u man ! ... width: 240px , ... close:false, ... modal:true, ... visible:false,
    Message 1 of 3 , Jun 30, 2007
    • 0 Attachment
      I love u man !

      --- In ydn-javascript@yahoogroups.com, "Scott Anderson"
      <scottanderson42@...> wrote:
      >
      > Mark,
      >
      > Use the modal property as shown in the example:
      >
      > YAHOO.example.container.wait =
      > new YAHOO.widget.Panel("wait",
      > {
      width:"240px",
      >
      >
      > fixedcenter:true,
      >
      close:false,
      >
      > draggable:false,
      >
      modal:true,
      >
      visible:false,
      >
      > effect:{effect:YAHOO.widget.ContainerEffect.FADE, duration:0.5}
      > }
      >
      > Regards,
      > -scott
      >
      >
      > On 6/28/07, markthienkm <markthienkm@...> wrote:
      > >
      > > hi guys,
      > >
      > > I visited
      > > http://developer.yahoo.com/yui/examples/container/panelwait/2.html
      > >
      > > and wondering how to disable user from doing anything behind the popup
      > > box just like the prototype window does.
      > >
      > > Thanks & Regards,
      > > Mark
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.