Thanks a bunch for the detailed response, Scott.
In the meantime, I was hacking at it and came up with a function to
remove themes:
function removeTheme(themeName) {
$("span.themeName:contains(" + themeName + ")").parent().parent
().remove();
}
Then I can just do something like this:
removeTheme("Dot Luv");
removeTheme("Hot sneaks");
I'll might mess around with it some more as time permits. It probably
would be easier to pull the code down and trim up the themepicker UL
to my liking.
Thanks again for the help!
Dave
On Feb 19, 12:23 pm, ScottJehl <[email protected]> wrote:
> Hi Dave,
> Glad to hear you like the theme switcher! We'd love to see what you're
> building with the framework too.
> The switcher pulls live from the ThemeRoller Gallery, and at this
> point we don't allow user submissions.
>
> In the future, we might offer a theme switcher plugin with options for
> themes, but we currently don't have that.
> You could probably do this with a little handy work though. I guess
> i'd recommend grabbing the plugin source and running it on your own
> server:http://jqueryui.com/themeroller/themeswitchertool/
>
> The top portion is an ugly slag of HTML, but it's just a long
> compacted UL. If you grab this whole source, you can replace the list
> items with your own theme urls and images fairly easily. Be sure to
> follow the same markup structure within the LI's since the switcher
> depends on that.
>
> Each LI should look like this:
>
> <li>
> <a href="?ffDefault=Trebuchet+MS...[full theme path]">
> <img src="theme image" alt="UI Lightness" title="UI Lightness" /
>
> <span class="themeName">UI lightness</span>
> </a>
> </li>
>
> Good luck:)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---