Created
September 8, 2011 14:39
-
-
Save 2bj/1203546 to your computer and use it in GitHub Desktop.
kremlin agendadropdown fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//e(".n11 i, .en11 i").unbind(); | |
e(".n11 i, .en11 i").click(function(){ | |
e(this).toggleClass("opened"); | |
e('.agendadropdown p.allagenda').hide(); | |
e(".agendadropdown").slideToggle(function(){ | |
e('.agendadropdown p.allagenda').fadeIn("fast"); | |
}); | |
return false; | |
}); | |
e(document).click(function(s){ | |
tar=e(s.target); | |
if(!(tar.parents(".agendadropdown").length>0)&&!(tar.parents(".nav").length>0)&&!(tar.hasClass(".agendadropdown"))) | |
{ | |
e(".n11 i, .en11 i").removeClass("opened"); | |
e('.agendadropdown p.allagenda').hide(); | |
e(".agendadropdown").slideUp() | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment