admin_pmmaint_index.asp - Postet den (1578 Views)
Advanced Member
Carefree
Innlegg: 4224
4224
There are a pair of routines (lines 225-251 and lines 419-445) in this file to create links for all the letters in the alphabet. I wrote a 4 line routine that does the same thing. If anyone has a need for creating alphabetic links, this may help:

Code:

	For ltr=65 to 90
strltr = chrW(ltr)
Response.Write " <a href=""admin_pmmaint_index.asp?mode=search&M_NAME=" & strltr & """><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & strltr & "</font></a>" & vbNewLine
next
<
   
 Sidestørrelse 
Postet den
Advanced Member
Etymon
Innlegg: 2396
2396
If I remember correctly most of the MODs that do the alphabet don't do the numbers as well. Might you have a routine for numbers too? smile<
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
Sure, just change the numbers in the first line to:
for ltr=48 to 57<
Postet den
Advanced Member
Etymon
Innlegg: 2396
2396
wink<
 
Du må legge inn en melding