web/data/cubicweb.rhythm.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Dec 2010 12:18:20 +0100
branchstable
changeset 7065 6a6ea9966931
parent 5658 7b9553a9db65
permissions -rw-r--r--
[testlib] simplify code by using a class attribute

$(document).ready(function() {
    $('a.rhythm').click(function (event){
        $('div#pageContent').toggleClass('rhythm_bg');
        $('div#page').toggleClass('rhythm_bg');
        event.preventDefault();
    });
});