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

[ydn-javascript] How do I use CSS_PANEL_CONTAINER

Expand Messages
  • Martin Tschofen
    I d like to set the panel container class to a new value, but I must be doing something wrong. Here s the part of the code that I can t get to work:
    Message 1 of 1 , Aug 29, 2008
    • 0 Attachment
      I'd like to set the panel container class to a new value, but I must be doing something wrong.

      Here's the part of the code that I can't get to work:
                  statusPanel =
                          new YAHOO.widget.Panel("i-status", 
                              { width:"300px", fixedcenter:true, close:false}
                          );
                  statusPanel.CSS_PANEL_CONTAINER = 'i-status';
                  statusPanel.setHeader('Status...');
                  statusPanel.setBody('some message');
                  statusPanel.render(document.body);


      The panel renders but the container class doesn't show up...martin
    Your message has been successfully submitted and would be delivered to recipients shortly.