[Zope3-dev] Links styling
Steve Alexander
steve@cat-box.net
Wed, 22 Jan 2003 11:36:07 +0200
Godefroid Chapelle wrote:
> At 23:25 10/01/2003, Guido van Rossum wrote:
>
>> Cool! Too bad it doesn't stick when you click on a different link.
>
> I know :-(
>
> This is why we need a skin switcher.
Make the links to alternative stylesheets actually point to code not
stylesheets. This code will set a cookie in the browser, and then return
the stylesheet.
If a stylesheet-cookie is set in the browser, then choose the default
style accordingly.
This should make the choice persistent for as long as the cookie is.
--
Steve Alexander