Server : nginx/1.22.1 System : Linux iZwz9daxib3w3i063fw434Z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/www.jkmold.com/statics/js/ |
$(function(){ SwapTab(".swap-tab","li",".swap-content","ul","on");//通用Tab切换 startmarquee('announ',22,1,500,3000);//头部滚动广告 slide("#yp-slide","cur",447,201,1);//首页焦点图 //通用select菜单 $(".mouseover").each(function(i){ var type = $(this).attr('type'),height = parseInt($(this).attr('heights')),position=parseInt($(this).attr('position')), navSub = $('.sub'+type+'_'+i); $(this).bind("mouseenter",function(){ var offset =$(this).offset(); if(navSub.css("display") == "none"){ if(position==true){ navSub.css({"position":"absolute","z-index":"100",left:offset.left,top:offset.top+height}).show(); }else{ navSub.show(); } } }).bind("mouseleave",function(){ navSub.hide(); }); navSub.bind({ mouseenter:function(){ navSub.show(); }, mouseleave:function(){ navSub.hide(); } }) }) //首页产品目录ie6支持 if("\v"=="v") { if (!window.XMLHttpRequest) { var catitem = $(".cat-item"); catitem.hover(function(){ $(this).addClass("cat-item-hover"); },function(){ $(this).removeClass("cat-item-hover"); }) } } /*筛选菜单展开收起*/ $("#PropSingle dd.AttrBox").each(function(){ var len = $(this).children().length; if(len >10){ $(this).before("<dd class='more cu'>全部展开</dd>"); var category = $(this).children('a:gt(9)'),moreBtn = $(this).siblings(".more"); category.hide(); moreBtn.click(function(){ if(category.is(":visible")){ category.hide(); moreBtn.removeClass("on").text("全部展开"); }else{ category.show(); moreBtn.addClass("on").text("精简显示"); } }) } }) $(".input").blur(function(){$(this).removeClass('input-focus');}); $(".input").focus(function(){$(this).addClass('input-focus')}); })