Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 admin_pmmaint_index.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 22 July 2008 :  15:51:45  Show Profile  Reply with Quote
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:


	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
<

Etymon
Advanced Member

United States
2383 Posts

Posted - 22 July 2008 :  17:05:55  Show Profile  Visit Etymon's Homepage  Reply with Quote
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? <
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 22 July 2008 :  19:42:45  Show Profile  Reply with Quote
Sure, just change the numbers in the first line to:
for ltr=48 to 57<
Go to Top of Page

Etymon
Advanced Member

United States
2383 Posts

Posted - 22 July 2008 :  20:17:44  Show Profile  Visit Etymon's Homepage  Reply with Quote
<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07