9ba9546174ea654bf1f1636990a001c30314b9ae
[exim-website.git] / templates / web / doc / index.js
1 $('#chapters')
2         .addClass('expandable')
3         .find('.button')
4         .click(function(){
5                 $(this).parent().toggleClass('open');
6         });
7
8 $('#options img.expand')
9         .click(function(){
10                 $('.chapter').addClass('open')
11         });
12
13 $('#options img.collapse')
14         .click(function(){
15                 $('.chapter').removeClass('open')
16         });
17
18 $('#options').removeClass('hidden');