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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Collapsing a category only on default.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

HVROX
Junior Member

177 Posts

Posted - 17 May 2004 :  09:42:23  Show Profile
Hello,

I need it to work like this:

When a user clicks on a collapsed category name on default.asp it will go to that category in expanded mode.

What can I add to default.asp? And where should I add it?


Thanks,
HVROX

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 17 May 2004 :  12:01:13  Show Profile
line 477 in default.asp should look like this:
Response.Write " <a href=""default.asp?CAT_ID=" & CatID & """ title=""View only the Forums in this Category""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>" & ChkString(CatName,"display") & "</b></font></a>  </td>" & vbNewline

Change it to this by adding the part in red:
Response.Write " <a href=""default.asp?CAT_ID=" & CatID & "&" & HideForumCat & "=N"" title=""View only the Forums in this Category""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>" & ChkString(CatName,"display") & "</b></font></a>  </td>" & vbNewline

This should do it.

Edited by - Roland on 17 May 2004 12:01:35
Go to Top of Page

HVROX
Junior Member

177 Posts

Posted - 17 May 2004 :  12:15:58  Show Profile
Thanks Roland for the quick reply.

HVROX
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07