// 100 items per page static S pageNav(Map<S, S> params, L<S> keepFields, int count, S nVar) { new L<S> l; for (int i = 0; i < count; i += 100) l.add(ahref(selfLink(params, keepFields, nVar, str(i)), i/100+1)); ret p("Pages: " + lines(l)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002547 |
| Snippet name: | pageNav - HTML page navigation |
| Eternal ID of this version: | #1002547/2 |
| Text MD5: | 6b5adcb045c1dc9b618ecde037ffdcdc |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-31 04:58:43 |
| Source code size: | 257 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 848 / 812 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |