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/O Code)
 Change scroll bar color in the header.asp file
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kittmaster
Starting Member

35 Posts

Posted - 10 September 2003 :  13:16:16  Show Profile
I've tried to adjust the colors in the header.asp file. Anyone have the proper syntax to make the change take effect. I found that the old way of
scrollbar-face-color:#FF7F00;
scrollbar-arrow-color:#FF7F00;
scrollbar-track-color:#440000;
scrollbar-shadow-color:'000000';
scrollbar-highlight-color:'000000';
scrollbar-3dlight-color:'000000';
scrollbar-darkshadow-Color:'000000';

doesn't take hold and causes the forum to crash when I upload it. I'm inserting it between the style sheet tags.

Any help would be great

Chris

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 September 2003 :  13:41:19  Show Profile
Add this instead:
		"scrollbar-face-color:#FF7F00;" & vbNewLine & _
		"scrollbar-arrow-color:#FF7F00;" & vbNewLine & _
		"scrollbar-track-color:#440000;" & vbNewLine & _
		"scrollbar-shadow-color:'000000';" & vbNewLine & _
		"scrollbar-highlight-color:'000000';" & vbNewLine & _
		"scrollbar-3dlight-color:'000000';" & vbNewLine & _
		"scrollbar-darkshadow-Color:'000000';" & vbNewLine & _
Go to Top of Page

kittmaster
Starting Member

35 Posts

Posted - 10 September 2003 :  15:14:18  Show Profile
I tried to paste that code in and right after I uploaded it the forum goes to an error 500.

Here is the code spliced in

"<style type=""text/css"">" & vbNewLine & _
"<!--" & vbNewLine & _
"scrollbar-face-color:#FF7F00;" & vbNewLine & _
"scrollbar-arrow-color:#FF7F00;" & vbNewLine & _
"scrollbar-track-color:#440000;" & vbNewLine & _
"scrollbar-shadow-color:'000000';" & vbNewLine & _
"scrollbar-highlight-color:'000000';" & vbNewLine & _
"scrollbar-3dlight-color:'000000';" & vbNewLine & _
"scrollbar-darkshadow-Color:'000000';" & vbNewLine & _
"a:link {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
"a:hover {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
"a:active {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _
".spnMessageText a:link {color:" & strForumLinkColor & ";text-decoration:" & strForumLinkTextDecoration & "}" & vbNewLine & _
".spnMessageText a:visited {color:" & strForumVisitedLinkColor & ";text-decoration:" & strForumVisitedTextDecoration & "}" & vbNewLine & _
".spnMessageText a:hover {color:" & strForumHoverFontColor & ";text-decoration:" & strForumHoverTextDecoration & "}" & vbNewLine & _
".spnMessageText a:active {color:" & strForumActiveLinkColor & ";text-decoration:" & strForumActiveTextDecoration & "}" & vbNewLine & _
".spnSearchHighlight {background-color:" & strSearchHiLiteColor & "}" & vbNewLine & _
"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _
"-->" & vbNewLine & _
"</style>" & vbNewLine & _


Still kills the forum. I restore it to the original file and no problem

Thanks
Chris
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 September 2003 :  16:43:15  Show Profile
Sorry about that. You used single quotes while you shouldn't (use #000000 instead of '000000') and there was nothing assigned to those values.
Add the following instead:
		"body {" & vbNewLine & _
		"scrollbar-face-color:#FF7F00;" & vbNewLine & _
		"scrollbar-arrow-color:#FF7F00;" & vbNewLine & _
		"scrollbar-track-color:#440000;" & vbNewLine & _
		"scrollbar-shadow-color:#000000;" & vbNewLine & _
		"scrollbar-highlight-color:#000000;" & vbNewLine & _
		"scrollbar-3dlight-color:#000000;" & vbNewLine & _
		"scrollbar-darkshadow-Color:#000000;" & vbNewLine & _
		"}" & vbNewLine & _
Go to Top of Page

kittmaster
Starting Member

35 Posts

Posted - 10 September 2003 :  17:01:29  Show Profile
this code is doing the same thing. everytime i paste it in and upload it to the server, I keep getting an error 500. soon as I restore it back to the original file it works just fine. Any way I can email the file and you can check it out or test it for me to see if it will function for you?
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 September 2003 :  17:23:40  Show Profile
Please open the inc_header.asp in a text editor and save it as a plain .TXT file. Then upload that to yourserver and post a link to it here. That way if I can't take a look, someone else will.

I have tested the code I gave last time and it worked without problems on my unedited, straight-out-the-box local test forums. I really don't see why it wouldn't work for you too.
Go to Top of Page

kittmaster
Starting Member

35 Posts

Posted - 10 September 2003 :  19:07:29  Show Profile
here it is http://www.40thregistry.com/inc_headerMODIFIED.txt
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 11 September 2003 :  03:11:45  Show Profile
looks like you used the wrong kind of editor to edit your file. When you pasted the codes I gave you, it changed the instances of & vbNewLine & _ to &amp; vbNewLine &amp; _ , which will obviously not work.

Please open your inc_header.asp in a text editor such as Notepad or SourceEdit and remove the codes you added last time, and re-add the codes I've given in my previous reply. Then save the file and it will work.
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.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07