Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 17th, 2007, 01:58 PM
Friend of Wrox
Join Date: Mar 2007
Location: Creetown, UK
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.



  #2 (permalink)  
Old October 17th, 2007, 02:48 PM
Friend of Wrox
Join Date: Sep 2003
Location: Copenhagen, , Denmark.
Posts: 143
Thanks: 0
Thanked 1 Time in 1 Post

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? :)



  #3 (permalink)  
Old October 17th, 2007, 03:23 PM
Friend of Wrox
Join Date: Mar 2006
Location: , , Portugal.
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts

I made a nice Page Links :)

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

  #4 (permalink)  
Old October 17th, 2007, 04:37 PM
Friend of Wrox
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts

max - brilliant, thanks



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 06:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.