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

Add fully-formed HTML document to Panel Body

Expand Messages
  • bernie_ott
    I m playing with the YUI menus and Panels and want to do something like FILE OPEN and open a fully-formed HTML document, with embedded CSS, etc, into a Panel
    Message 1 of 2 , Oct 3, 2006
    • 0 Attachment
      I'm playing with the YUI menus and Panels and want to do something
      like FILE OPEN and open a fully-formed HTML document, with embedded
      CSS, etc, into a Panel and have it render properly.

      Currently, when I try to do that, I get the content, but it doesn't
      look normal. I'm assuming that's because the CSS info in the HTML
      document isn't being honored.

      Is it possible to do the above?

      I tried adding an IFRAME inside the DIV of the Panel, but I cannot
      seem to get it working.
    • dav.glass@yahoo.com
      Here s a quick example of how it could be done 8-) http://blog.davglass.com/files/yui/overlay1/ Hope that helps.. Dav Glass dav.glass@yahoo.com davglass.com
      Message 2 of 2 , Oct 3, 2006
      • 0 Attachment
        Here's a quick example of how it "could" be done 8-)

        http://blog.davglass.com/files/yui/overlay1/

        Hope that helps..
         
        Dav Glass
        dav.glass@...
        davglass.com
        618.694.3476

        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
        without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine +


        ----- Original Message ----
        From: bernie_ott <bernie.ott@...>
        To: ydn-javascript@yahoogroups.com
        Sent: Tuesday, October 3, 2006 8:52:34 AM
        Subject: [ydn-javascript] Add fully-formed HTML document to Panel Body

        I'm playing with the YUI menus and Panels and want to do something
        like FILE OPEN and open a fully-formed HTML document, with embedded
        CSS, etc, into a Panel and have it render properly.

        Currently, when I try to do that, I get the content, but it doesn't
        look normal. I'm assuming that's because the CSS info in the HTML
        document isn't being honored.

        Is it possible to do the above?

        I tried adding an IFRAME inside the DIV of the Panel, but I cannot
        seem to get it working.


      Your message has been successfully submitted and would be delivered to recipients shortly.