1. #1
    Ext User
    Join Date
    Jun 2007
    Posts
    98
    Vote Rating
    0
    ajaxE is on a distinguished road

      0  

    Default style is lost when dynamically load content into a panel

    style is lost when dynamically load content into a panel


    Hi,

    It was working fine in extjs1.1.1. When I upgrade to Ext2.0. The dynamically load content into a penel, lost the style of the page in IE only. FF is fine. Please help.

    PHP Code:
    function viewDetails () {
          var 
    url ="detail.jsp";
          var 
    panel Ext.getCmp('south-panel');
                  
    panel.body.load({
            
    urlurl,
            
    test'Loading...',
            
    title'Work Title'
         
    });
         }; 
    I have put css style as inline style in detail.jsp. It didn't work.

    Thanks!

  2. #2
    Ext User
    Join Date
    Jun 2007
    Posts
    98
    Vote Rating
    0
    ajaxE is on a distinguished road

      0  

    Default


    I found IE6 works if I embeded style into each HTML tag. This seems very bad solution. It creases the page content a lot and made the page is not readable.

    If I embeded style tag into the JSP file, FF works. But not IE.

    Any better way to do it?