felinum

el psy ko: Updates Tab Scripts

Oct 1st, 2016
9,171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.80 KB | None | 0 0
  1. <script type="text/javascript" src="http://static.tumblr.com/iuggpng/bGqm4yfv9/jquery-1.7.2.js"></script>
  2. {block:ifRevealUpdatesOnClick}
  3. <script>
  4.     $(function(){
  5.         $(".container_content").hide();
  6.         $(".ui").each(function(){  
  7.             $(this).click(function(){
  8.                 $(this).parent().find('.container_content').stop(true, true).delay(200).slideToggle("slow");
  9.             });
  10.         })
  11.     });
  12. </script>
  13. {/block:ifRevealUpdatesOnClick}
  14. <script>
  15.     $(function(){
  16.         $(".ui").each(function(){  
  17.             $(this).click(function(){
  18.                 var lea = $(this).parent().find(".lino").width() == 0 ? "175px" : "0px";
  19.                 $(this).parent().find(".lino").stop(true, true).animate({width:lea});
  20.                
  21.             });
  22.         })
  23.     });
  24. </script>
Advertisement
Add Comment
Please, Sign In to add comment