git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
8bd8f2803
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
js
jquery.accordion.min.js
and we have a new download-easy page from ticket 3926.
Andrew Lewman
commited
8bd8f2803
at 2011-09-28 14:48:57
jquery.accordion.min.js
Blame
History
Raw
$(document).ready(function () { $('div.accordionButton').click(function () { if ($(this).next().is(':hidden') == true) { $(this).addClass('on'); $(this).removeClass('off'); $(this).next().slideDown('normal'); } else { $(this).removeClass('on'); $(this).addClass('off'); $(this).next().slideUp('normal'); } }); $('.switch').click(function() { $('.accordionContent').slideDown('normal'); $('.accordionButton').addClass('on'); $('.accordionButton').removeClass('off'); } ); $('.accordionButton').addClass('off'); $('div.accordionContent').hide(); $(".open").trigger('click'); });