NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: alex.kolaric on September 09, 2010, 02:06:37 PM
-
Hi,
is there a way to combine page active page indicator and quick page access links with the standard browse. Something like having:
1 2 3 4 5 6 7 8 9 ...
showing below the browse.
Thanks,
Alex
-
Hi Alex,
During the webshop this subject was mentioned.
Bruce's comment on this is that when you want to do it the "Google way", you have to count or calculate the number of pages first. In short: There is a "price tag".
Besides that, it is not possible.
What you can do is fill the browse by file in stead of by page
Rene
-
Hi Rene,
thanks for the info. I suspected that the answer will be such. I guess that this kind of behavior is possible without using standard NetTalk browse. More work but surely possible.
Regards,
Alex
-
Hi Alex,
In order to determine the correct number of pages, you would need to count the records in the view. The RECORDS statement won't help because of the effect of the filter on the browse.
To count the number of records is an "expensive" operation, in terms of time, but of course you are welcome to do it if you like. If you knew this number, and the current place of the data the user was browsing, you could very easily implement the feature you're thinking of.
On the other hand, I'm not sure that this is a particularly good way to navigate the data - a good locator is much better at actually getting to the data you want to find.
Cheers
Bruce
-
Hi Bruce,
thanks for the info. I prefer what we currently have as a browse better but I was asking this because usual way to present data on the web is using the result pages with links, or at least what I mostly see.
Regards,
Alex
-
Hi Alex,
Google obviously uses it, but notice they mostly just "guess" the number.
You can tell this because if you go to page 2, 3 or 4 or whatever the number of pages changes.
cheers
Bruce