Guest User

Untitled

a guest
Apr 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <script type="text/javascript">
  2. $('.sidebar_menu ul').hide();
  3.  
  4. $('.years').click(function(e) {
  5. $(this).children().slideToggle();
  6. e.stopPropagation();
  7. });
  8.  
  9. $('.months').click(function(e) {
  10. $(this).find('ul').slideToggle();
  11. e.stopPropagation();
  12. });
  13.  
  14. $('.posts').click(function(e) {
  15. e.stopPropagation();
  16. });
  17.  
  18. $('li[rel=<?php echo $get->menu_target ?>]').parent().slideToggle();
  19. $('li[rel=<?php echo $get->menu_target ?>]').parent().parent().parent().slideToggle();
  20.  
  21. </script>
Add Comment
Please, Sign In to add comment