Loading...

(Just one moment)

$(pager a).on(click

$(pager a).on(click

= 0) $(.league_ended_race).show(); else if dexOf(next_race)

= 0) $(.league_next_race).show(); else if (href.indexOf(ongoing_race)

= 0) $(.league_ongoing_race).show(); else if (href.indexOf(news)

= 0) $(.league_news).show(); $.ajax( url: href, dataType: html, timeout: 15E3, beforeSend: function(xhr) xhr.setRequestHeader(X-PJAX, true); , success: function(html) is_loading_next = 0; var ele_html = $(html); if (href.indexOf(ended_race)

= 0) $(ended).html( ele_html.find(ended).html() ); else if (href.indexOf(next_race)

= 0) $(next).html( ele_html.find(next).html() ); else if (href.indexOf(ongoing_race)

= 0) $(ongoing).html( ele_html.find(ongoing).html() ); else if (href.indexOf(news)

= 0) $(news).html( ele_html.find(news).html() ); $(a[bk-diray-fav-id]).off(click).on(click, bk_diray_fav); $(pager a).off(click).on(click, pager_href); $(pager select).off(change).on(change, pager_href); $(.loginPopupBt).on(click, function(e) e.preventDefault(); $(.loginPopupLoginBt).click(); $(loginPopup).foundation(reveal,open); ); ); var page = 1; $(pager a).on(click, pager_href); $(pager select).change(pager_href); $(switch_pager li).on(click, function (e) e.preventDefault(); var ele = $(this); $(.pager- + page).html(+ page +); $(.pager- + page).removeClass(current); $(.page- + page).hide(); page = ele.data(url); $(.pager- + page).html(page); $(.pager- + page).addClass(current); $(.page- + page).show(); ); );

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注