// 焦点图 (function(d,d,v){d.fn.responsiveslides=function(h){var b=d.extend({auto:!0,speed:1e3,timeout:4e3,pager:!1,nav:!1,random:!1,pause:!1,pausecontrols:!1,prevtext:"previous",nexttext:"next",maxwidth:"",controls:"",namespace:"rslides",before:function(){},after:function(){}},h);return this.each(function(){v++;var e=d(this),n,p,i,k,l,m=0,f=e.children(),w=f.size(),q=parsefloat(b.speed),x=parsefloat(b.timeout),r=parsefloat(b.maxwidth),c=b.namespace,g=c+v,y=c+"_nav "+g+"_nav",s=c+"_here",j=g+"_on",z=g+"_s", o=d("
"+a+"")});o.append(u);l=o.find("a");h.controls?d(b.controls).append(o):e.after(o);n=function(a){l.closest("li").removeclass(s).eq(a).addclass(s)}}b.auto&&(p=function(){k=setinterval(function(){var a=m+1"+b.prevtext+""+b.nexttext+"";h.controls?d(b.controls).append(c):e.after(c);var c=d("."+g+"_nav"),b=d("."+g+"_nav.prev");c.bind("click",function(a){a.preventdefault();if(!d("."+j+":animated").length){var c=f.index(d("."+j)), a=c-1,c=c+1 r&&e.css("width",r)};c();d(d).bind("resize",function(){c()})}})}})(jquery,this,0); $(function() { $(".f426x240").responsiveslides({ auto: true, pager: true, nav: true, speed: 400, maxwidth: 2560 }); $(".f160x160").responsiveslides({ auto: true, pager: true, speed: 900, maxwidth: 640 }); });