Iconn Button Extjs


Usually a button would be more interesting if there were image,in this tutoril i will give a example how to use a icon in button extjs.I think a web developer have been known it,and i am sure You can alsorest therest.with.with.
<script type=「text/javascript」><google同前client="pb-723751324457193;;googleアルファベット.カラー"ファイナルファンタジー"google同前width=234;google同前height=60;google同前フォーマット="234 x 60_as"google同前type="text_.イメージ"google同前チャンネル="bismilllah-search-defafe"googleカラーborder="嚖菵ファイナルファンタジー"googleカラーlink="菷0000 FF"googleカラーbg=\;菵菵ファイナルファンタジー"googleカラーtext=\"菗菗000000\;googleカラーurl="菵菵333333"//->google_protectAndRun("adscaucore.googlegleglederaud& quot;google&gledle;googledle;google;スクリプト>
below is a example code to create icon button.
This code is part of javascript file
view source
print
?01buttons: [{02text:'Submit',03iconCls:'icon-submit'04  05},{06text: 'Close',07iconCls:'icon-close',08handler: function(){09win.hide();10}11}]「iconClas:’icon-close’,and「iconClas:’icon-submit’」are main of this tutoril.icon-submit andicon-close are of classion,and will load in)file.
here is a code of)file
view source
print
?01<!--02.icon-submit03    {04        background-image:url(add.png) !important;05    }06    .icon-close07    {08        background-image:url(cross.gif) !important;09    }10-->This is a screen shot of this tutorial.
icone-i-n-button-extjs
 
http://defafe.com/icone-in-button