ÿØÿà JFIF ` ` ÿþ
Server : Apache/2 System : Linux vps.phamthanh.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 User : benhviencoc7 ( 1008) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/benhviencoc7/domains/benhviendkkvcampha.vn/private_html/adminvn/templates/js/ |
Upload File : |
$(function($) { setTimeout(function() { $('#content-wrapper > .row').css({ opacity: 1, '-webkit-transform': 'translateY(0px)', '-moz-transform': 'translateY(0px)', '-ms-transform': 'translateY(0px)', '-o-transform': 'translateY(0px)', transform: 'translateY(0px)' }); }, 200); $('#sidebar-nav .dropdown-toggle').click(function (e) { e.preventDefault(); var $item = $(this).parent(); if (!$item.hasClass('open')) { $item.parent().find('.open .submenu').slideUp('fast'); $item.parent().find('.open').toggleClass('open'); } $item.toggleClass('open'); if ($item.hasClass('open')) { $item.children('.submenu').slideDown('fast'); } else { $item.children('.submenu').slideUp('fast'); } }); $('.mobile-search').click(function(e) { e.preventDefault(); $('.mobile-search').addClass('active'); $('.mobile-search form input.form-control').focus(); }); $(document).mouseup(function (e) { var container = $('.mobile-search'); if (!container.is(e.target) // if the target of the click isn't the container... && container.has(e.target).length === 0) // ... nor a descendant of the container { container.removeClass('active'); } }); }); (function($,sr){ // debouncing function from John Hann // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ var debounce = function (func, threshold, execAsap) { var timeout; return function debounced () { var obj = this, args = arguments; function delayed () { if (!execAsap) func.apply(obj, args); timeout = null; }; if (timeout) clearTimeout(timeout); else if (execAsap) func.apply(obj, args); timeout = setTimeout(delayed, threshold || 100); }; } // smartresize jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); }; })(jQuery,'smartresize');