[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 164 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
StyleSwitcher() X-Ref |
This file is public domain. Source: http://www.alistapart.com/articles/alternate/ dh> TODO: could be optimized probably a bit Changes: 2006-10-17, http://daniel.hahler.de/: - fix/optimization regarding disabling of chosen stylesheet(-set) - only use selected style from cookie, if available - Transformed into prototyped object (encapsulation) - setActiveStyleSheet(): do not disable all stylesheets in case there's an invalid one provided as param (e.g. from obsolete cookie); This would disable all styles..! - Use addEvent() and do not overwrite window.on(un)load |
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |