author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> |
Thu, 29 Apr 2010 08:39:13 +0200 | |
changeset 5481 | 2236b2f57c67 |
parent 5480 | 2d5c46e78ae9 |
child 5658 | 7b9553a9db65 |
permissions | -rw-r--r-- |
5480
2d5c46e78ae9
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
1 |
$(document).ready(function() { |
2d5c46e78ae9
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
2 |
$('a.rhythm').click(function (event){ |
2d5c46e78ae9
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
3 |
$('div#pageContent').toggleClass('rhythm_bg'); |
5481
2236b2f57c67
[css] progressively fixing rhythm
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
5480
diff
changeset
|
4 |
$('div#page').toggleClass('rhythm_bg'); |
5480
2d5c46e78ae9
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
5 |
event.preventDefault(); |
2d5c46e78ae9
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
6 |
}); |
2d5c46e78ae9
[css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
7 |
}); |