Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function () {
- $(".site-navigation").click(function() {
- if($(this).data("clicked")) {
- $(this).data("clicked", false);
- $(this).children("ul").fadeOut('300');
- $(this).children("ul").slideUp("slow");
- } else {
- $(this).data("clicked", true);
- $(this).children("ul").fadeIn('300');
- $(this).children("ul").slideDown("slow");
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement