I tried this. It needs (in header) <link type="text/css" rel="stylesheet" href="http://jqueryui.com/ themes/base/ui.all.css" /> <script type="text/javascript" src="http://jqueryui.com/js/ jquery.js"></script>
and also this (in body) to add the button: <script type="text/javascript" src="http://jqueryui.com/themeroller/ themeswitchertool/"></script> <div id="switcher"></div><script>jQuery(document).ready(function() {jQuery('#switcher').themeswitcher();});</script> Problems: 1) http://jqueryui.com/themes/base/ui.all.css does not exist (has it moved? the docs are outdated) 2) it conflicts with the welcome/static/base.css It seems it needs special css ids and classes If you can submit a welcome/views/layout.html that works I will consider it. Massimo On 15 Lug, 03:50, mdipierro <[email protected]> wrote: > That would be easy to do: > > <link type="text/css" rel="stylesheet" href="http://jqueryui.com/ > themes/base/ui.all.css" /> > <script type="text/javascript" src="http://jqueryui.com/js/ > jquery.js"></script> > > <script> > $(document).ready(function(){ > $('#switcher').themeswitcher(); > }); > </script> > > There are two problems: > 1) to make it work locally (behind firewall) we would have to package > themes with welcome (not a good idea) > 2) it only switches themes to elements that have jquery.ui.css tags. > > Massimo > > On 15 Lug, 03:24, AsmanCom <[email protected]> wrote: > > > Hi, > > > I would advise to integrate jquery.ui and the ThemeSwitcher widget > > (http://docs.jquery.com/UI/Theming/ThemeSwitcher) to make the app > > visual appealing vor novices. > > > THX > > > Dieter Asman > > > On Jul 9, 3:34 pm, mdipierro <[email protected]> wrote: > > > > let's consider anewscaffolding app. > > > > What should be in it? > > > What should not be in it? > > > > possible suggestions: > > > [ ] js menu > > > [ ]newlayout (suggestions?) > > > [ ] more complex views/layout? > > > [ ] simpler views/layout.html > > > [ ] example plugins > > > [ ] plugin_wiki from cube2py? > > > [ ] jquery.ui > > > > Massimo

