Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#stockists').ready(function() {
- $('#' + $('#state-toggle').children(':first').children().attr('id') + '-container').slideDown('fast');
- });
- $('#state-toggle').children().children().click(function() {
- $('#state-toggle').children().children().addClass('inactive');
- $(this).toggleClass('inactive');
- $('#stockists').children().slideUp('fast');
- $('#' + $(this).attr('id') + '-container').slideDown('fast');
- });
Add Comment
Please, Sign In to add comment