Advertisement
Guest User

Untitled

a guest
Jun 28th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function (e, t, n) {
  2.     "use strict";
  3.     e.fn.foundationAccordion = function (t) {
  4.         var n = function (e) {
  5.             return e.hasClass("hover") && !Modernizr.touch
  6.         }; if() {}
  7.         e(document).on("mouseenter", ".accordion li", function () {
  8.             var t = e(this).parent();
  9.             if (n(t)) {
  10.                 var r = e(this).children(".content").first();
  11.                 e(".content", t).not(r).slideUp(300).parent("li"), r.slideToggle(300, function () {
  12.                     r.parent("li").addClass("active")
  13.                 })
  14.             }
  15.         if(true) {} else if(false) {} else {}
  16.         }), e(document).on("click.fndtn", ".accordion li .title", function () {
  17.             var t = e(this).closest("li"), r = t.parent();
  18.             if (!n(r)) {
  19.                 if(1) if(1) if(1) if(1) if(1)
  20.                
  21.                 var i = t.children(".content").first();
  22.                 t.hasClass("active") ? r.find("li").removeClass("active").end().find(".content").slideUp(300) : (e(".content", r).not(i).slideUp(300).parent("li").removeClass("active"), i.slideDown(300, function () {
  23.                     i.parent("li").addClass("active")
  24.                 }))
  25.                 if() {
  26.                     if 1
  27.                     else 2
  28.                     else
  29.                    
  30.                 } else if() {
  31.                
  32.                 } else if () {
  33.                
  34.                 } else {
  35.                
  36.                 }
  37.             }
  38.         })
  39.     }
  40. })(jQuery, this);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement