scorpswolle
Starting Member
39 Posts |
Posted - 27 May 2003 : 12:12:16
|
Is there a way to modify the code for the subpaging. I have almost 2000 signatures in my guestbook and so it shows a lot of pages. I would prefer to show it like this: previous page|next page|pages 10-20|... or something like that. The code is:
Sub subgpaging() p_rec = 1 response.write("<tr><td width=""100%"" align=""center"" bgcolor=""" & strCategoryCellColor & """><b>" & strTempFont & "Pages: " & vbcrlf) Do until p_rec = strGTotalPages + 1 response.write("<a href=""guestbook.asp?page=" & p_rec & """ title=""Page " & p_rec & "&sortby=" & request.querystring("sortby") & """>" & p_rec & "</a> | ") p_rec = p_rec + 1 Loop
My Guestbook can be viewed at http://www.the-scorpions.com/forum/guestbook.asp |
|