House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

(ot) quick Ext question

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
07/01/2009 11:22 AM

Sorry for the ot but this is a quick one. How to use the bodyStyle attribute for Window object? // Ext 2 var ewin = new Ext.Window ({   // x:200,   // y:200,   width:350,   height:350,   border:true,   resizable:true,   // try 1   // bodyStyle: [{background-color:white; color:black; padding-left:10px}]   // try 2   // bodyStyle: [{background-color:'white', color:'black', padding-left:10px}]   }); // results neither try 1 nor try 2 worked in IE7 nor Firefox 3.0.11 on XP SP3. How to? Also, when I include the x and y attributes, the window failed to be opened, weird. Thanks. Don P.S. Need to fix my firebug

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (ColdFusion)
07/01/2009 11:27 AM

Not sure, the ExtJs forums are probably your best bet on this. Try: bodyStyle:'background-color:white;color:black;padding-left:10px;' Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 7/1/2009 10:16 AM, D ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
07/01/2009 11:42 AM

Cutter, You're right. items: [{bodyStyle: "background-color:white; color:black; padding-left:10px"}] works.  But the window's border did not show up though the attribute is specified. Yeah, I'll try the ext forum. Many thanks. Don ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (ColdFusion)
07/01/2009 11:29 AM

You may also be better suited, with multiple attributes, to apply a class: bodyCssClass <source/Panel.html#cfg-Ext.Panel-bodyCssClass>: 'myWindowClass' Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 7/1/2009 10:16 AM, D ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference