Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2007, 01:58 PM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default Page links in forum title

was just looking at the threads on this forum and just registered mentally for the 1st time the fact that the title of the thread also contains a neat little 'pager' on it, thereby allowing you to 'skip' to any page in the thread. i've got a rough idea of how i'd set about doing this but was wondering if anyone has done this already to avoid re-invention of the wheel. my thoughts would be to use whatever 'count' method was applicable and divide that by the defined posts per page property. from this, a little function could be inserted which would create the links to each 'paged' resultset 'page' on clicking.

just need the finer details and/or better working alternatives. alternatively, is this really of much use and would it be better to just have a single link to the last page??

thoughts please.

jimi

http://www.originaltalent.com
__________________
jimi

http://www.originaltalent.com
 
Old October 17th, 2007, 02:48 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 143
Thanks: 0
Thanked 1 Time in 1 Post
Default

What I've seen implemented on vB, and something I like is while you're viewing a thread spanning multiple pages, is some dynamic form of paging.

There'll always be a link to "First" and "Last. And if you're on page 4, you'd see "First", 2, 3, 4 (with some form of highlight or lack of a hyperlink telling you that's the current page), maybe three pages directly after the current page, and a last...

So if a thread would have 25 pages, I'd see (as an example):

First, 22, 23, 24, 25, 26, 27, 28, Last.

Something along those lines? :)

Cheers,

Peter

http://entropia-online.blogspot.com/
 
Old October 17th, 2007, 03:23 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I made a nice Page Links :)

I'm going to prepare this extension and put it on one thread! Wait for it!

 
Old October 17th, 2007, 04:37 PM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

max - brilliant, thanks

jimi

http://www.originaltalent.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting a Page Title attribute from a webcontrol Nostromo77 ASP.NET 2.0 Basics 0 September 21st, 2008 08:13 PM
Web Page links snufse ASP.NET 2.0 Basics 1 April 10th, 2008 11:57 PM
Changing Page Title From User Control hugh@kmcnetwork.com ASP.NET 1.0 and 1.1 Professional 5 October 11th, 2005 08:48 AM
Animated scrolling page title joshil Flash (all versions) 1 May 14th, 2004 03:45 PM
links to a page when a button is clicked hosefo81 HTML Code Clinic 4 December 7th, 2003 06:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.