sub DropDownPaging(fnum) dim PagesToShow PagesToShow=3 response.write "<td bgcolor="""&strHeadCellColor&""" nowrap><strong>Page:</strong>" if maxpages>1 then if mypage-PagesToShow<1 then MinPageToShow=1 else MinPageToShow=mypage-PagesToShow if mypage+PagesToShow>maxpages then MaxPageToShow=maxpages else MaxPageToShow=mypage+PagesToShow if MinPageToShow>1 then response.write " <a href=""topic.asp?"&ArchiveLink&"TOPIC_ID="&Topic_ID&"&whichpage=1"&SearchLink&""">#171;</a>" for counter=MinPageToShow to MaxPageToShow if counter<>mypage then response.write " <a href=""topic.asp?"&ArchiveLink&"TOPIC_ID="&Topic_ID&"&whichpage="&counter&SearchLink&""">"&counter&"</a>" else response.write " <strong>"&counter&"</strong>" next if MaxPageToShow<maxpages then response.write " <a href=""topic.asp?"&ArchiveLink&"TOPIC_ID="&Topic_ID&"&whichpage="&maxpages&SearchLink&""">#187;</a>" response.write " (of "&maxpages&")" else response.write " <strong>1</strong> (of 1)" end if response.write "</td>" top="0" end sub
The #187 is showing like this:
Page: 1 2 3 4 #187; (of 7)
What's that? I see there's a #171 in the code also but didn't see that on my page. <
The #171; should be « («) and the #187; should be » (»).
<
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.”
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.”