#写的一个通用的,将thinkphp生成的分页HTML,自动转换为 bootstrap 分页:
/**
* @author default7#zbphp.com
* @description 将ThinkPHP的分页转换为 bootstrap分页
* @param selector
*/
function initPagination(selector) {
selector = selector || '.page';
$(selector).each(function (i, o) {
var html = '<ul class="pagination">';
$(o).find('a,span').each(function (i2, o2) {
var linkHtml = '';
if ($(o2).is('a')) {
linkHtml = '<a href="' + ($(o2).attr('href') || '#') + '">' + $(o2).text() + '</a>';
} else if ($(o2).is('span')) {
linkHtml = '<a>' + $(o2).text() + '</a>';
}
* @author default7#zbphp.com
* @description 将ThinkPHP的分页转换为 bootstrap分页
* @param selector
*/
function initPagination(selector) {
selector = selector || '.page';
$(selector).each(function (i, o) {
var html = '<ul class="pagination">';
$(o).find('a,span').each(function (i2, o2) {
var linkHtml = '';
if ($(o2).is('a')) {
linkHtml = '<a href="' + ($(o2).attr('href') || '#') + '">' + $(o2).text() + '</a>';
} else if ($(o2).is('span')) {
linkHtml = '<a>' + $(o2).text() + '</a>';
}
var css = '';
if ($(o2).hasClass('current')) {
css = ' class="active" ';
}
html += '<li' + css + '>' + linkHtml + '</li>';
});
html += '</ul>';
$(o).html(html).fadeIn();
});
}
波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
波比源码 » javascript 将 ThinkPHP 分页自动转换为 bootstrap 分页
波比源码 » javascript 将 ThinkPHP 分页自动转换为 bootstrap 分页
buy levaquin 250mg pills brand levaquin 250mg
avodart over the counter zofran order online order zofran 4mg for sale
order generic aldactone 100mg buy finasteride 1mg online diflucan pills
order ampicillin without prescription cephalexin 500mg tablet brand erythromycin 250mg
sildenafil 50mg uk robaxin 500mg sale buy robaxin generic
buy lamotrigine generic buy generic lamictal purchase tretinoin generic
order accutane 40mg online cheap amoxicillin 500mg oral cost azithromycin
indocin 50mg cheap buy terbinafine 250mg online order trimox pill
cialis pills medicine for ed sildenafil 100mg tablet
arimidex brand order anastrozole 1 mg without prescription viagra 50mg tablet
cialis 10mg kaufen für männer cialis für frauen viagra kaufen ohne rezept
accutane sale isotretinoin 40mg cost ivermectina online
buy doxycycline 100mg sale levitra 10mg over the counter buy lasix without prescription
catapres 0.1mg for sale purchase catapres without prescription tiotropium bromide brand
tacrolimus 1mg for sale buy ursodiol 150mg for sale order ursodiol 150mg generic
oral zyban 150mg order quetiapine online cheap order seroquel 100mg generic
molnunat 200mg price lansoprazole canada order prevacid online cheap
zoloft 50mg sale buy generic lexapro viagra mail order usa
buy revia for sale order revia generic aripiprazole 30mg cheap
medroxyprogesterone 5mg for sale buy cyproheptadine 4mg for sale purchase cyproheptadine pills
luvox 100mg uk buy fluvoxamine generic buy glucotrol 5mg generic
zithromax without prescription cost neurontin order neurontin 600mg sale
chloroquine 250mg ca purchase cenforce without prescription olumiant uk
itraconazole order online buy progesterone 100mg pills tindamax 500mg brand
purchase glucophage sale metformin 1000mg price cialis 10mg for sale
metoprolol 100mg oral lopressor 100mg drug vardenafil sale
pay for paper writing write me a essay slots meaning
buy cialis for sale order tadalafil 20mg sildenafil viagra
purchase xenical generic orlistat 120mg for sale acyclovir pill
order allopurinol 100mg generic cost crestor 10mg ezetimibe order online
buy zantac 150mg generic celecoxib pills celecoxib 100mg ca
tamsulosin 0.2mg pills order tamsulosin 0.2mg online cheap purchase aldactone pills
purchase cialis without prescription cipro 500mg price cipro 1000mg canada
simvastatin 10mg price order valtrex sale buy finasteride for sale
cefuroxime cost robaxin order methocarbamol order online
trazodone buy online order desyrel 100mg for sale buy sildenafil
order generic sildenafil 100mg cheap cialis pill online cialis
casino near me order cialis 20mg generic brand tadalafil 5mg
order azithromycin 500mg azithromycin 250mg cost gabapentin online order
buy generic tadalafil 20mg purchase indomethacin online cheap indocin online
order generic proventil purchase protonix online order cipro for sale
order pioglitazone 15mg online cheap actos generic buy sildenafil online
montelukast 5mg sale order montelukast 5mg pill buy viagra pills
cialis professional Cialis in usa online blackjack for real money usa
tadalafil tablets real cialis cialis super active
online gambling money sports gambling free blackjack online money games
ivermectin for sale stromectol 3mg brand generic avlosulfon
online casino real money real money blackjack pay for essay
adalat 30mg over the counter order aceon 8mg without prescription cost allegra 180mg
doxycycline 200mg generic order ventolin 2mg online buy cleocin 150mg for sale
oral olmesartan buy calan 120mg pill order depakote 250mg online cheap
order acetazolamide online cheap buy isosorbide sale buy azathioprine without prescription
buy fosamax 35mg generic buy nitrofurantoin sale order ibuprofen 400mg for sale
priligy 30mg price buy generic avana purchase motilium pills
buy indomethacin 50mg capsule flomax 0.2mg usa buy cenforce generic
brand famotidine 40mg buy mirtazapine sale order remeron 30mg pills
buy doxycycline sale buy medrol medrol medicine
requip online order buy calcitriol 0.25mg labetalol without prescription
esomeprazole for sale online esomeprazole canada buy furosemide online cheap
cialis 5mg oral levitra reviews cheap erectile dysfunction pills online
buy provigil 100mg pills buy stromectol pills promethazine buy online
clomid pills purchase prednisolone sale order prednisolone 20mg for sale
accutane 40mg oral order deltasone 10mg for sale acillin ca
sildenafil 50mg pills lyrica 150mg over the counter order propecia 1mg without prescription
ivermectin cost australia order stromectol 6mg generic order prednisone 40mg generic
buy ondansetron 4mg for sale oral amoxicillin 500mg sulfamethoxazole pills
purchase ventolin inhalator for sale buy generic albuterol 2mg order augmentin 1000mg for sale
There is apparently a lot to know about this. I feel you made some good points in features also.
provigil cost brand zestril lopressor sale
order prednisolone 40mg for sale lasix price lasix 40mg us