Hi Mark,

The jquery-ui-....custom....js file changes only with the widgets you
include, not the themes.

In other words, the custom.js file is totally theme-independent.

Same for the custom .CSS files -- they contain only the core-
selectors, and selectors that apply to the specific widgets you've
selected.

To get all the runtime theme variations you need to download and host
each CSS folder, or you can use the ThemeSwitcher which downloads and
applies the appropriate theme CSS at run-time.  The ThemeSwitcher is
rather javascript-heavy, but its functionality and "wow-factor" make
it worthwhile, in my opinion, especially for proof-of-concept stages
of development.

Another goodie with the ThemeRoller is cookie-support, so the user's
last theme preference is remembered the next-time they re-enter.  I
think that's really slick.

Did you know... the CSS themes files are also hosted on the Google
Ajax CDN?

For example, for the "Redmond" theme:
http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css

If you get CSS files from the CDN they include all the core selectors
as well as all the CSS for all the UI-widgets.

In my view, given these come from a very fast CDN, and given that
downloading everything is just simpler, it may make sense to go this
way.

I hope this helps.

**--**  Steve




On Sep 14, 4:05 pm, Mark Jackson <[email protected]> wrote:
> Hi Steve,
>
> Could you tell me, does the jquery-ui-1.7.2.custom.min.js file change
> when
> you build custom themes and select all the components of the
> framework?  My
> example would be, say, that I went to the Themeroller and created 4
> different custom themes and downloaded them all using the default
> selections
> on the themeroller download page(which of course is everything
> selected).
> Are not all the differences between these 4 files executed in the css
> files
> and not the javascript?  In other words, can I use the same
> jquery-ui-1.7.2.custom.min.js file for all of my themes just so long
> as I
> use the proper css files to display the theme of my choice?
>
> Thanks,
> Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to