Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $('.column').each(function (index) {
- $(this).delay(750 * index).fadeIn(1500);
- });
- $('.column').hide();
- var width = $(window).width();
- if (width <= 600) {
- $('.body').hide();
- $('.column').each(function () {
- var $toggle = $(this);
- $('.toggle', $toggle).click(function () {
- $(".toggle").removeClass("toggle-d");
- $(this).addClass('toggle-d');
- $body = $('.body', $toggle);
- $body.slideToggle();
- $('.body').not($body).hide();
- });
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement