On 4 Aug 2011, at 05:15, U10C11 wrote:
> Hi,
>
> I believe jQuery UI ships with "ui-lightness" theme, how do I change this theme to something else (example:'smoothness')
>
Hi,
This is easy using the Resources framework. The jQ UI plugin declares its resources like this:
modules = {
'jquery-theme' {
resource id:'theme',
url:[ plugin: 'jqueryUi', dir: 'jquery-ui/themes/ui-lightness',
file:'jquery-ui-'+jqver+'.custom.css'],
attrs:[media:'screen, projection']
}
…
}
So all you need to do is add resource override for that resource, pointing at whatever you want to include.
Please see the docs:
http://grails-plugins.github.com/grails-resources/guide/5.%20Overriding%20resources.htmlCheers
~ ~ ~
Marc Palmer
Freelancer (Grails/Groovy/Java)
Founder @
http://noticelocal.com | Developer @
http://weceem.orgMember @
http://spottymushroom.com | Contributor @
http://grails.orgTwitter:
http://twitter.com/wangjammer5 | Resumé:
http://www.anyware.co.uk/marc/Blog:
http://www.anyware.co.uk | Grails Rocks:
http://www.grailsrocks.com---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email