Boris' Bookmarks
Boris' Bookmarks
Tag cloud
Picture wall
Daily
RSS Feed
Login
Delete
Set public
Set private
Remember me
3299
shaares
1
private link
3299
shaares ·
1
private link
Filters
Links per page
20
50
100
Stop toggling classes with JS, use behaviour driven DOM manipulation with data-states
Utilisation d'un data-* plutôt que des classes qui déterminent l'état d'un objet.
js
·
dom
·
manipulation
·
behaviour
·
sharemarks
Tue Dec 17 19:30:07 2013 ·
permalink
·
http://toddmotto.com/stop-toggling-classes-with-js-use-behaviour-driven-dom-manipulation-with-data-states/
Filters
Links per page
20
50
100
Fold
Fold all
Expand
Expand all
Are you sure you want to delete this link?
The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community