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

Re: YUI Dialog/Panel and setting the content from anotehr url

Expand Messages
  • muhammad_shahid2
    Thanks everyone for the response. I have used the iframe inside the panel body and the iframe is targetting the url i would like to display on the panel/modal
    Message 1 of 5 , Oct 3, 2008
    • 0 Attachment
      Thanks everyone for the response. I have used the iframe inside the
      panel body and the iframe is targetting the url i would like to
      display on the panel/modal window.

      --- In ydn-javascript@yahoogroups.com, "muhammad_shahid2"
      <muhammad_shahid@...> wrote:
      >
      > Hi,
      >
      > I would like to use a modal window (yui panel / dialog) on my page.
      > The modal window will get the data from another url (the same
      > server). The example I see on YUI panel are getting the modal
      window
      > content hard coded in javascript or from a div, but I don't see any
      > example that is using the url for the content of the dialog window.
      I
      > also looked at the properties of this component but can't figure
      out
      > how to set the url for the modal window.
      >
      > Your help is appreciated.
      >
      > Example:
      > - I have a page www.mydomain.com\firstPage.jsp
      > - on the firstPage.jsp I have a button/link to view some details,
      > - the button should show the modal window
      > + and getting the content of the modal window from
      > www.mydomain.com\theSomeDetails.jsp?theid=123
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.