PDA

View Full Version : Ext.ux.ThemeCycleButton



galdaka
28 Apr 2008, 11:59 AM
NEW: 07/05/2008 keep state!!

Hi,

My way for swicthing themes.

Similar components:

1) http://www.extjs.com/forum/showthread.php?t=33881

2) http://extjs.com/forum/showthread.php?p=120645

Demo:

www.galdaka.es (http://www.galdaka.es)

Greetings,

galdaka
7 May 2008, 11:12 AM
Save state added!!

See also Ext.ux.LanguageCycleButton: http://extjs.com/forum/showthread.php?p=165159#post165159

Greetings,

joku
7 May 2008, 3:53 PM
Works well in a toolbar! :)

I tried using renderTo config property on it and that caused problems... *shrug*

DamianHartin
12 Aug 2008, 10:25 PM
Hi Galdaka - great example site.

Can I ask though please, how did you get the graphic/image above the viewport (at the top of your page)

I've looked at your page source and tried to add a graphic but I cant get anything to apear??

Thanks,
Damian

galdaka
13 Aug 2008, 10:25 AM
cls:'header'


and in index.css:



.header .x-panel-body{
background: url(resources/img/cabecera-Azul.jpg);
}

DamianHartin
13 Aug 2008, 3:11 PM
Perfect :D Thank you

DamianHartin
22 Aug 2008, 7:09 PM
Hi everyone.

If your having some trouble getting this to work because you don't have/cant find xtheme-default.css, just create an empty file and make a reference to it (thanks devNull)

The Ext library has all the theme info for the default-blue, but IE has a little issue if the file dosent exsit.

Anyway - might save you a little time looking for it. ;)

Cheers

galdaka
22 Aug 2008, 10:24 PM
Hi everyone.

If your having some trouble getting this to work because you don't have/cant find xtheme-default.css, just create an empty file and make a reference to it (thanks devNull)

The Ext library has all the theme info for the default-blue, but IE has a little issue if the file dosent exsit.

Anyway - might save you a little time looking for it. ;)

Cheers

Is a customization of suclass. No main class: .header => x-panel-body

Greetings,

DamianHartin
23 Aug 2008, 4:08 PM
ahh yes - sorry Galdaka (was testing both yours and Saki's extension)

Thanks.

Daz
26 Nov 2008, 4:04 AM
Really nice extension.

I noticed a minor glitch when reloading my page, the theme state worked as expected although the original CycleButton checked item was always selected when clicking the CycleButton arrow. Possibly an implementation issue on my part, but was resolved after I added some code to uncheck the default checked theme from cssItems.

As a newbie, your post (plus the jsakalos related tutorial) has really contributed to my learning of Ext.

Thanks

galdaka
28 Jul 2009, 1:26 AM
Really nice extension.

I noticed a minor glitch when reloading my page, the theme state worked as expected although the original CycleButton checked item was always selected when clicking the CycleButton arrow. Possibly an implementation issue on my part, but was resolved after I added some code to uncheck the default checked theme from cssItems.

As a newbie, your post (plus the jsakalos related tutorial) has really contributed to my learning of Ext.

Thanks

I think that is a bug of cyclebutton. You can add the fixup for purchase the original extension.

Greetings,