Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


JavaScript Programming

JavaScript > Code Examples

A Container with an HBox layout

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
A Container with an HBox layout <html> <head> <title>Happy Codings :-) JavaScript Code Examples</title> <link rel="stylesheet" type="text/css" href="ext-3.0.0/resources/css/ext-all.css" /> <script type="text/javascript" src="ext-3.0.0/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="ext-3.0.0/ext-all.js"></script> </head> <body> <script type="text/javascript"> Ext.onReady(function() { new Ext.Window({ layout : 'hbox', height : 300, width : 300, title : 'A Container with an HBox layout', layoutConfig : { pack : 'start' }, defaults : { frame : true, }, items : [ { title : 'Panel 1', height : 100 }, { title : 'Panel 2', height : 75, width : 100 }, { title : 'Panel 3', height : 200 } ] }).show(); }); </script> <div id='div1'>Happy Codings :-) C++, C#, HTML, Java, JavaScript Code Examples</div> </body> </html>