19 Aug 2008 10:59 PM #1
Urgent Help :: Unable to change theme ???
I am tired to change the theme ?
I have search alot in this forum and i find lot of post for theme change and i try all of those script but i unable to change the theme?
Live URL : http://mindsharehost.com/ext/complex.html
I'm using following code :
var theme = Ext.state.Manager.get('theme');
Ext.util.CSS.swapStyleSheet('theme','../resources/style/xtheme-'+ theme + '.css');
var cb = Ext.get('exttheme');
Ext.util.CSS.swapStyleSheet('theme','../resources/style/xtheme-'+ cb.dom.value + '.css');
<div id="lib-bar" class="x-toolbar" style="border-width:0 1px 1px"><div id="lib-bar-inner"> <span>Theme:</span>  <select id="exttheme"><option value="default">Ext Blue</option><option value="gray">Gray Theme</option><option value="green">Green Theme</option></select></div></div>
Thanks in advance
20 Aug 2008 2:20 AM #2
20 Aug 2008 2:41 AM #3
Thanks for your response
V.V thanks for your response i appreciate your help.
Write down the files name which are making ThemeCyclebutton ?
your website is not changing green and slat color ? might be some problem with it ? but its changing gray and blue color which is enough for me.