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

Re: [ydn-javascript] YUI panel units - pop-up

Expand Messages
  • m_nhk
    Thx Bill, that looks perfect to what I want. ... -- View this message in context: http://www.nabble.com/YUI-panel-units---pop-up-tp25106740p25112580.html Sent
    Message 1 of 3 , Aug 24, 2009
    • 0 Attachment
      Thx Bill, that looks perfect to what I want.



      viruschidai wrote:
      >
      > If you only want to display some information to user, you can use yui
      > simpledialog.
      > Example:
      > http://developer.yahoo.com/yui/examples/container/dialog-quickstart.html
      >
      > If you want user to input something, use the dialog control.
      > Example:
      > http://developer.yahoo.com/yui/examples/container/dialog-quickstart.html
      >
      > cheers,
      > Bill
      >
      > --- In ydn-javascript@yahoogroups.com, m_nhk <m_nhk@...> wrote:
      >>
      >>
      >> I want to create a pop-up div rather than a pop-up window.
      >>
      >> If I use YUI panels, when I create the main layout do I at that point add
      >> a
      >> layout unit for my pop-up div and put a property of hidden on it so it
      >> doesn't show. And when I want to show it via some action do I just need
      >> to
      >> call some javascript which will get the "pop-up" panel unit (I assume by
      >> id), then I can populate it by putting the info in its innerHTML and then
      >> set the property to visible so it shows?
      >> would this work and is this a good design? or should I somehow just
      >> create
      >> the pop-up div dynamically every time I want it to show?
      >>
      >>
      >> --
      >> View this message in context:
      >> http://www.nabble.com/YUI-panel-units---pop-up-tp25106740p25106740.html
      >> Sent from the ydn-javascript mailing list archive at Nabble.com.
      >>
      >
      >
      >
      >

      --
      View this message in context: http://www.nabble.com/YUI-panel-units---pop-up-tp25106740p25112580.html
      Sent from the ydn-javascript mailing list archive at Nabble.com.
    Your message has been successfully submitted and would be delivered to recipients shortly.