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

Re: issue with dialog when using with facebook.

Expand Messages
  • Honne Gowda A
    This is how the page looks. .... .... ##### In this frame our content displayed. Looks like the
    Message 1 of 2 , Nov 30, 2008
      This is how the page looks.
      ....

      <body>
      ....

      <div>
      <div>
      <iframe ....</iframe> ##### In this frame our content displayed.
      </div>
      </div>
      </body>

      Looks like the dialog is positioned center with respect to the height
      of the iframe.



      --- In ydn-javascript@yahoogroups.com, "Honne Gowda A"
      <honne_gowda@...> wrote:
      >
      > Hi All,
      > We are trying to use YUI for one of our applications. Everything
      > looked smooth, till I started integrating with facebook(using Iframe
      > and not FBML).
      >
      > Problem:
      > The dialogs are not placed at center.It perfectly works in my local
      setup.
      > Are there any constraints when using inside an iframe?
      >
      >
      >
      > Following is the config I am using.
      >
      > this.recodialog = new YAHOO.widget.Dialog(this.rc,{
      > buttons:[ {text: "Confirm",
      > isDefault:true, handler: this.handleSubmit},
      > {text: "Cancel", handler: this.handleCancel}],
      > width: "450px",
      > fixedcenter : true,
      > modal: false,
      > constraintoviewport : true,
      > underlay: 'shadow', draggable:false,
      > autofillheight: "body",
      > close: true});
      >
      >
      > TIA,
      > -hg
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.