[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/rsc/js/ -> styleswitcher.js (sommaire)

(pas de description)

Poids: 164 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 fonction

  StyleSwitcher()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

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
  Clicky Web Analytics