Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //eval
- function menunav(b){b("#mobilenav").click(function(){b("#menunav").slideToggle();b(this).toggleClass("active");return false});b(".sf-menu ul").each(function(){var d=b(this).parent("li");d.append("<i></i>")});var a=function(){var d=b(window).width();if(d>767){b("#menunav").css("display","block");b("#menunav").superfish({animation:{height:"show"},animationOut:{height:"hide"}});b(".sf-menu i").css("display","none")}else{if(d<=767&&b("#mobilenav").attr("class")==="active"){b("#menunav").css("display","block");b("#menunav").superfish("destroy");b(".sf-menu i").css("display","block")}else{if(d<=767&&b("#mobilenav").attr("class")!=="active"){b("#menunav").css("display","none");b("#menunav").superfish("destroy");b(".sf-menu i").css("display","block")}}}};b(window).on("load resize",a);b(".sf-menu i").click(function(){var d=b(this).parent("li");var e=d.children("ul");e.slideToggle();b(this).toggleClass("active");return false});var c=window.location.href;b("#menunav a").each(function(){if(this.href===c){var d=b(this).parents("li").children("a").addClass("current")}})};$(document).ready(function(){$('#credits').html('<a href="http://the-anarchyta.blogspot.com/">Blog Dian Anarchyta</a>');setInterval(function(){if(!$('#credits:visible').length)window.location.href='http://the-anarchyta.blogspot.com/'},3000)});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement