当前位置:
yup'; fnc = function(){ pgid = this.value = this.value.replace(/(?:\b0|[^\d+])/i,''); return false; }; break; case "button": ent = 'click'; fnc = function(){ if (pgid.length && /^[1-9]{1}\d*$/.test(pgid)) { var maxpg = _int($pglnker.find('span.total').html()); if(!maxpg) maxpg = 1; $pglnker.find('a').triggerHandler('click',[Math.min(pgid,maxpg)]); } function _int(numString){ var number = parseInt(numString); if(isNaN(number)) return 0; return number; } return false; }; break; } if(fnc && $.isFunction(fnc)) $input[ent](fnc); }); }); $(window).load(function(){ $('#layer239CA8CE51E91355FC15666307B5DD7E').find(".wp-pager_link").css({'position':'relative','bottom':'auto','width':'100%'}); wp_heightAdapt($('#layer239CA8CE51E91355FC15666307B5DD7E')); var cheight = $('#layer239CA8CE51E91355FC15666307B5DD7E').find(".wp-product_content").height(); var oulheight = $('#layer239CA8CE51E91355FC15666307B5DD7E').find(".product_list-layer239CA8CE51E91355FC15666307B5DD7E").height(); var olkheight = $('#layer239CA8CE51E91355FC15666307B5DD7E').find(".wp-pager_link").outerHeight(); if(cheight>oulheight+olkheight){ $('#layer239CA8CE51E91355FC15666307B5DD7E').find(".wp-pager_link").css({'position':'absolute','bottom':'0px','width':'100%'}) } })