/administrator/templates/khepri/js/animat_menu.js
JavaScript | 29 lines | 24 code | 5 blank | 0 comment | 0 complexity | 04fd52ee22e9a5fd7bbdb56908a7a959 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0, LGPL-2.1
- jQuery(document).ready(function(){
-
- jQuery('.hide_menu').click(function(){
- jQuery(this).parent().slideUp();
- jQuery('.show_menu').fadeIn();
-
- jQuery.ajax({
- type: "POST",
- url: "./index.php?option=com_uplab&action=main&task=toggle_menu",
- dataType : "html",
- data : 'todo=0',
- success: function(val){ }
- });
- });
-
- jQuery('.show_menu').click(function(){
- jQuery('.main_menu_top').slideDown();
- jQuery(this).fadeOut();
-
- jQuery.ajax({
- type: "POST",
- url: "./index.php?option=com_uplab&action=main&task=toggle_menu",
- dataType : "html",
- data : 'todo=1',
- success: function(val){ }
- });
- });
-
- });