Take a looksee - http://freeaspcode.net/snitz
The top paging works fine, however if you scroll down, the paging on the bottom does not bold the page that you are currently on; yet I use the same subroutine for each one. Any Idea's? The sub is below...
Sub ShowModPaging(inttotalpages, tfs, intpage)
p_rec = 1
response.write("<tr><td colspan=5 bgcolor=""" & strForumCellColor & """>")
response.write(tfs & "<strong>Pages: </strong>")
Do until p_rec = inttotalpages + 1
if p_rec = Cint(intpage) then
response.write("<strong>" & p_rec & "</strong> | ")
else
response.write("<a href=""default.asp?sortby=" & strModSort & "&sortmethod=" & strModSortMethod & "&page=" & p_rec & "&pagesize=" & strModPageSize & """>")
response.write(p_rec)
response.write("</a> | ")
end if
p_rec = p_rec + 1
Loop
response.write("</font>")
response.write("</td></tr>")
End Sub
---------------
-Da_Stimulator
Stims Snitz Test area - Running 3.3.03, 4 beta, and Huw's modified code
Need a Mod? Check out the Mod Resource