By: Marcel Bodewitz
Date: 2005-09-01
Time: 13:39
|
Navigationbar: only 3 page numbers
Hi,
Wonderful thing, that Tinybutstrong!
But I've got the following problem:
I've got a table, with 500 records.
I'm using the by-page-mode, and i'm using a navigation bar.
But the navigation bar shows only 3 page numbers; the number of the previous, the number of the current and the number of the next page. (oh, and some other pages; first, previous, next, last).
I would like to show more page numbers, for example 10 page nrs.
How can I do this?
right now i've got the following code for the nav bar:
<table class="table_in_body">
<tr align="left">
<td class="nav_cell"><a href="[var..script_name]?PageNum=[nv.first;endpoint;magnet=a;mtype=m+m]&sort=[var.sort]">|<</a></td>
<td class="nav_cell"><a href="[var..script_name]?PageNum=[nv.prev;endpoint;magnet=a;mtype=m+m]&sort=[var.sort]"><</a></td>
<td class="nav_cell"><a href="[var..script_name]?PageNum=[nv.page;block=td;navsize=3;navpos=centred]&sort=[var.sort]">[nv.page]</a></td>
<td class="current_nav_cell">[nv.page;block=td;currpage]</td>
<td class="nav_cell"><a href="[var..script_name]?PageNum=[nv.next;endpoint;magnet=a;mtype=m+m]&sort=[var.sort]">></a></td>
<td class="nav_cell"><a href="[var..script_name]?PageNum=[nv.last;endpoint;magnet=a;mtype=m+m]&sort=[var.sort]">>|</a></td>
</tr>
</table>
This shows for example:
|< < 3 4 5 > >|
I would like this to be:
|< < 3 4 5 6 7 8 9 10 11 12 > >|
|