[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] Cookie controlled CSS for J-OPAC
From: |
MJ Ray |
Subject: |
Re: [Koha-devel] Cookie controlled CSS for J-OPAC |
Date: |
Tue, 9 Feb 2010 13:55:45 +0000 (GMT) |
Darrell Ulm <address@hidden>
> If a button were made to set a cookie on the Opac labeled "Kid's OPAC" then
> feasibly the CSS included could be switched on the fly with the user
> controlled
> switch.
>
> This would allow all the existing code for the OPAC to work by just setting
> up a
> new CSS (for Kid's for example) and then using javascript check the cookie to
> determine if an alternate CSS is being used.
[...]
> Questions, Comments. Just an idea.
Can't it be done by changing the View: Page Style menu item selection,
rather than using yet more javascript (which will break on any
half-secured browser)?
Hope that helps,
--
MJ Ray (slef) Webmaster and LMS developer at | software
www.software.coop http://mjr.towers.org.uk | .... co
IMO only: see http://mjr.towers.org.uk/email.html | .... op