thron7 schrieb:
> Petr Kobalíček wrote:
>> Hi Alex,
>>
>> thank you:-)
>>
>> I'm discovered that only thing I need is to remove theme from
>> settings{} in config file. Now I'm able to write:
>>
>> qxsettings["qx.theme"] = "qx.theme.Classic"
>>
>> in my html page.
>>
>> And yeah, I know that theme can be switched on reload, my way is to
>> set theme based on the GET parameter;-)
>>
>
> We do the same for Demobrowser: All demos are generated in two versions,
> each for a specific theme ("Modern" or "Classic"). Then the GET
> parameter determins which of the two is being loaded (through the
> helper.js, which is always included on the demo HTML page). You might
> want to have a look at that.
One short note: The way the demo browser do this is quite hacky. There
will be better support over time with the loader script already used by
qooxdoo. For now it may be better to do the switch in the backend and
deliver to different HTML sites which includes to different JS-scripts
(or make it dynamic using PHP/JSP/...)
Sebastian
>
> Thomas
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel