This is pretty simple because you just need to append a new external
CSS reference with jQuery -- this won't re-load the page. Just
download all the themes you want locally and reference them with a
switcher script.

Kevin Luck has an easy to use switcher you could try:
http://www.kelvinluck.com/assets/jquery/styleswitch/

Best,
Todd

On Dec 6, 9:50 am, Nymor <[email protected]> wrote:
> Hi,
>
> I'm using a custom theme created using theThemerollerapp and it
> works wonderfully - thanks :)
>
> What I'd like to do, however, is to have a few more themes with
> slightly different colour schemes and either allow the user to switch
> between them or to do so with javascript. I know there is a way to do
> so using the themes in the gallery by using theThemerollerwidget but
> am I bit at a bit of a loss on how the achieve the same but using
> custom themes hosted on my own site.
>
> I think I can work out how to do it, via php, when the site is
> initially loaded by generating the relevant Stylesheet references but
> unfortunately I'm not overly conversant with CSS to be able to do the
> switching thing without reloading the page - which I want to avoid if
> possible.
>
> Could someone help with a quick 101 on how the do this or point me in
> the direction of any examples or tutorials that cover this. I've
> searched around but can't find anything.
>
> Any assistance would be appreciated.
>
> Regards
> Nymor

--

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