author | Katia Saurfelt <katia.saurfelt@logilab.fr> |
Wed, 05 May 2010 18:19:56 +0200 | |
changeset 5479 | 6ba3587c5cda |
parent 5478 | c52124b7a00e |
child 5658 | 7b9553a9db65 |
permissions | -rw-r--r-- |
5477
f79c39be0b9b
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
1 |
$(document).ready(function() { |
f79c39be0b9b
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
2 |
$('a.rhythm').click(function (event){ |
f79c39be0b9b
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
3 |
$('div#pageContent').toggleClass('rhythm_bg'); |
5478
c52124b7a00e
[css] progressively fixing rhythm
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
5477
diff
changeset
|
4 |
$('div#page').toggleClass('rhythm_bg'); |
5477
f79c39be0b9b
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
5 |
event.preventDefault(); |
f79c39be0b9b
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
6 |
}); |
f79c39be0b9b
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
7 |
}); |