Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Generic Code


Message #1 by "ARTI MAHOBE" <arti_mahobe@h...> on Fri, 27 Jul 2001 16:18:15 +0530
I want to write a generic code to set Font face, Font color, Font Size Table 

Head

bgcolor etc. so that whenever a change is there, I don't need to change all 

these in all

the pages. I have written something in an include file which is working, but 

I want to

look ahead for some more solutions. I would be thankful if anybody could 

suggest

me a good piece of code.



Thanks

Arti



Message #2 by "Dallas Martin" <dmartin@z...> on Fri, 27 Jul 2001 07:10:42 -0400
It's called Cascading Style Sheets.

You can use an include file or declare it in each page/

Here's an example:



<style>

<!--

A:active {color: red}

A:hover {color: red}

A:visited {color: red}

A:link {color: red}



DIV {font-weight: bold;

     color: black;

     background-color: cornsilk;

     width: 100%;

     border-style:

     solid; border-width: thin;}



TD {font-weight: bold}



TH {font-size: 8pt;

    color: black;

    font-family: Verdana;}



CAPTION {font-size: 10pt;

  font-weight: bold;

     color: black;

     font-family: Verdana;}

// -->

</style>



For more information go to http://msdn.microsoft.com/workshop/entry.asp

and select the Cascading Style Sheets link



Dallas







----- Original Message -----

From: "ARTI MAHOBE" <arti_mahobe@h...>

To: "ASP Databases" <asp_databases@p...>

Sent: Friday, July 27, 2001 6:48 AM

Subject: [asp_databases] Generic Code





> I want to write a generic code to set Font face, Font color, Font Size

Table

> Head

> bgcolor etc. so that whenever a change is there, I don't need to change

all

> these in all

> the pages. I have written something in an include file which is working,

but

> I want to

> look ahead for some more solutions. I would be thankful if anybody could

> suggest

> me a good piece of code.

>

> Thanks

> Arti

>

>

Message #3 by "Eoghan O'Byrne" <Eoghan.O'Byrne@W...> on Fri, 27 Jul 2001 12:15:17 +0100
Hey Arti,



Another way of doing that is storing the values at Application level in

the global.asa file.

You can create Application wide variables which are defined in the

global.asa file.



You can use CSS (Cascading Style Sheets) too but then you need to

include the style sheet on every page also. with Application variables

you just define them and use them like so:



Application("VarName") or

<font face=3D"<%=3DApplication("myFontFace")%>">



Regards,



Eoghan



-----Original Message-----

From: ARTI MAHOBE [mailto:arti_mahobe@h...]

Sent: Friday, July 27, 2001 11:48 AM

To: ASP Databases

Subject: [asp_databases] Generic Code





I want to write a generic code to set Font face, Font color, Font Size

Table

Head

bgcolor etc. so that whenever a change is there, I don't need to change

all

these in all

the pages. I have written something in an include file which is working,

but

I want to

look ahead for some more solutions. I would be thankful if anybody could



suggest

me a good piece of code.



Thanks

Arti

Message #4 by "ARTI MAHOBE" <arti_mahobe@h...> on Fri, 27 Jul 2001 17:21:18 +0530
Hi Eoghan,

This is same as what I have done. Actually to make the Pages Netscape 

compatible so we use an include file for table structure. which is included 

in all the pages. So I have created this include file, define variable in it 

and I am using these variables, which act as Application level variables. 

But I want something different. Something very compact. This has to be 

IE/Netscape compatible. So can u suggest something in this regard. Pls. 

hurry up.



regards,

Arti





>From: "Eoghan O'Byrne" <Eoghan.O'Byrne@W...>

>Reply-To: "ASP Databases" <asp_databases@p...>

>To: "ASP Databases" <asp_databases@p...>

>Subject: [asp_databases] RE: Generic Code

>Date: Fri, 27 Jul 2001 12:15:17 +0100

>

>Hey Arti,

>

>Another way of doing that is storing the values at Application level in

>the global.asa file.

>You can create Application wide variables which are defined in the

>global.asa file.

>

>You can use CSS (Cascading Style Sheets) too but then you need to

>include the style sheet on every page also. with Application variables

>you just define them and use them like so:

>

>Application("VarName") or

><font face="<%=Application("myFontFace")%>">

>

>Regards,

>

>Eoghan

>

>-----Original Message-----

>From: ARTI MAHOBE [mailto:arti_mahobe@h...]

>Sent: Friday, July 27, 2001 11:48 AM

>To: ASP Databases

>Subject: [asp_databases] Generic Code

>

>

>I want to write a generic code to set Font face, Font color, Font Size

>Table

>Head

>bgcolor etc. so that whenever a change is there, I don't need to change

>all

>these in all

>the pages. I have written something in an include file which is working,

>but

>I want to

>look ahead for some more solutions. I would be thankful if anybody could

>

>suggest

>me a good piece of code.

>

>Thanks

>Arti

Message #5 by "ARTI MAHOBE" <arti_mahobe@h...> on Fri, 27 Jul 2001 17:25:05 +0530
Hi Dallas,

I generally see your messages which you answer to the Questions put here.

I want to tell you what I have done to achieve this -

To make the Pages Netscape compatible so we use an include file for table 

structure which is included in all the pages. So I have created this include 

file, defined variables in it and I am using these variables, which act as 

Application level variables only. But I want something different. Something 

very compact. This has to be IE 5 and above/Netscape 4.5 and above 

compatible. So can u suggest something in this regard. Pls. hurry up.



regards,

Arti







>From: "Dallas Martin" <dmartin@z...>

>Reply-To: "ASP Databases" <asp_databases@p...>

>To: "ASP Databases" <asp_databases@p...>

>Subject: [asp_databases] Re: Generic Code

>Date: Fri, 27 Jul 2001 07:10:42 -0400

>

>It's called Cascading Style Sheets.

>You can use an include file or declare it in each page/

>Here's an example:

>

><style>

><!--

>A:active {color: red}

>A:hover {color: red}

>A:visited {color: red}

>A:link {color: red}

>

>DIV {font-weight: bold;

>      color: black;

>      background-color: cornsilk;

>      width: 100%;

>      border-style:

>      solid; border-width: thin;}

>

>TD {font-weight: bold}

>

>TH {font-size: 8pt;

>     color: black;

>     font-family: Verdana;}

>

>CAPTION {font-size: 10pt;

>   font-weight: bold;

>      color: black;

>      font-family: Verdana;}

>// -->

></style>

>

>For more information go to http://msdn.microsoft.com/workshop/entry.asp

>and select the Cascading Style Sheets link

>

>Dallas

>

>

>

>----- Original Message -----

>From: "ARTI MAHOBE" <arti_mahobe@h...>

>To: "ASP Databases" <asp_databases@p...>

>Sent: Friday, July 27, 2001 6:48 AM

>Subject: [asp_databases] Generic Code

>

>

> > I want to write a generic code to set Font face, Font color, Font Size

>Table

> > Head

> > bgcolor etc. so that whenever a change is there, I don't need to change

>all

> > these in all

> > the pages. I have written something in an include file which is working,

>but

> > I want to

> > look ahead for some more solutions. I would be thankful if anybody could

> > suggest

> > me a good piece of code.

> >

> > Thanks

> > Arti

Message #6 by "Drew, Ron" <RDrew@B...> on Fri, 27 Jul 2001 08:03:30 -0400
True, you need to include the css on each page but not the code itself.

Create a directory called CSS within wwwroot and just put the following

(change the name) somewhere after the <head>



<LINK REL=3Dstylesheet TYPE=3D"text/css" HREF=3D"../css/content.css">



-----Original Message-----

From: Eoghan O'Byrne [mailto:Eoghan.O'Byrne@W...]

Sent: Friday, July 27, 2001 7:15 AM

To: ASP Databases

Subject: [asp_databases] RE: Generic Code





Hey Arti,



Another way of doing that is storing the values at Application level in

the global.asa file.

You can create Application wide variables which are defined in the

global.asa file.



You can use CSS (Cascading Style Sheets) too but then you need to

include the style sheet on every page also. with Application variables

you just define them and use them like so:



Application("VarName") or

<font face=3D"<%=3DApplication("myFontFace")%>">



Regards,



Eoghan



-----Original Message-----

From: ARTI MAHOBE [mailto:arti_mahobe@h...]

Sent: Friday, July 27, 2001 11:48 AM

To: ASP Databases

Subject: [asp_databases] Generic Code





I want to write a generic code to set Font face, Font color, Font Size

Table

Head

bgcolor etc. so that whenever a change is there, I don't need to change

all

these in all

the pages. I have written something in an include file which is 

working,

but

I want to

look ahead for some more solutions. I would be thankful if anybody 

could



suggest

me a good piece of code.



Thanks

Arti



Message #7 by "Drew, Ron" <RDrew@B...> on Fri, 27 Jul 2001 07:59:35 -0400
I use css from time to time...here is an example of one...



BODY

{

    SCROLLBAR-FACE-COLOR: #90a8d0;

    SCROLLBAR-HIGHLIGHT-COLOR: #d8e8f0;

    SCROLLBAR-SHADOW-COLOR: #000000;

    SCROLLBAR-3DLIGHT-COLOR: #000099;

    SCROLLBAR-ARROW-COLOR: #000099;

    SCROLLBAR-TRACK-COLOR: #000099;

    SCROLLBAR-DARKSHADOW-COLOR: #000000;

    FONT-SIZE: 12pt;

    BACKGROUND-IMAGE: url(..\images\untitled.gif);

    LIST-STYLE-IMAGE: url(..\images\listitems.gif);

    COLOR: black;

    BACKGROUND-REPEAT: repeat-y;

    FONT-FAMILY: Arial;

    LIST-STYLE-TYPE: square;

    TEXT-DECORATION: overline

}

H1

{

    FONT-SIZE: 20pt;

    COLOR: #3399ff;

    FONT-FAMILY: Arial;

    TEXT-DECORATION: underline overline

}



-----Original Message-----

From: ARTI MAHOBE [mailto:arti_mahobe@h...]

Sent: Friday, July 27, 2001 6:48 AM

To: ASP Databases

Subject: [asp_databases] Generic Code





I want to write a generic code to set Font face, Font color, Font Size 

Table



Head

bgcolor etc. so that whenever a change is there, I don't need to change 

all

these in all

the pages. I have written something in an include file which is 

working, but



I want to

look ahead for some more solutions. I would be thankful if anybody 

could

suggest

me a good piece of code.



Thanks

Arti





Message #8 by "Eoghan O'Byrne" <Eoghan.O'Byrne@W...> on Fri, 27 Jul 2001 14:52:30 +0100
Arti,



global.asa is not browser specific. It is one file, it does not need to 

be included in the pages yet the variables within it can be used in every 

asp page in the site. (once the global.asa is in the root which is where it

should be)



There is also no reason why you couldnt define an application variable 

in the global.asa to be equal to the code of a CSS.



Hope this helps,



Eoghan



-----Original Message-----

From: ARTI MAHOBE [mailto:arti_mahobe@h...]

Sent: Friday, July 27, 2001 12:51 PM

To: ASP Databases

Subject: [asp_databases] RE: Generic Code





Hi Eoghan,

This is same as what I have done. Actually to make the Pages Netscape

compatible so we use an include file for table structure. which is 

included in all the pages. So I have created this include file, define variable in it



and I am using these variables, which act as Application level 

variables.

But I want something different. Something very compact. This has to be

IE/Netscape compatible. So can u suggest something in this regard. Pls. 

hurry up.



regards,

Arti





>From: "Eoghan O'Byrne" <Eoghan.O'Byrne@W...>

>Reply-To: "ASP Databases" <asp_databases@p...>

>To: "ASP Databases" <asp_databases@p...>

>Subject: [asp_databases] RE: Generic Code

>Date: Fri, 27 Jul 2001 12:15:17 +0100

>

>Hey Arti,

>

>Another way of doing that is storing the values at Application level 

in

>the global.asa file.

>You can create Application wide variables which are defined in the

>global.asa file.

>

>You can use CSS (Cascading Style Sheets) too but then you need to

>include the style sheet on every page also. with Application variables

>you just define them and use them like so:

>

>Application("VarName") or

><font face=3D"<%=3DApplication("myFontFace")%>">

>

>Regards,

>

>Eoghan

>

>-----Original Message-----

>From: ARTI MAHOBE [mailto:arti_mahobe@h...]

>Sent: Friday, July 27, 2001 11:48 AM

>To: ASP Databases

>Subject: [asp_databases] Generic Code

>

>

>I want to write a generic code to set Font face, Font color, Font Size 

Table Head bgcolor etc. so that whenever a change is there, I don't need 

to change all these in all the pages. I have written something in an 

include file which is working, but I want to look ahead for some more 

solutions. I would be thankful if anybody could suggest me a good piece of 

code.

>

>Thanks

>Arti



Message #9 by "Dallas Martin" <dmartin@z...> on Fri, 27 Jul 2001 10:07:17 -0400
Follow Ron Drew's suggestion:



Quoting Ron Drew:



"True, you need to include the css on each page but not the code itself.

Create a directory called CSS within wwwroot and just put the following

(change the name) somewhere after the <head>



<LINK REL=stylesheet TYPE="text/css" HREF="../css/content.css">"



Visit the Microsoft link that I previously emailed. MS usually does a good

job

of stating what is IE and NS compatible. If you see somewhere in the

description

of a property something akin to "public standard", then its a good bet that

NS will

interpret the CSS directive properly.



Here is the what MS acutal states about each CSS directive:



"If an attribute or property has been proposed to the World Wide Web

Consortium (W3C)

but not yet made standard, it is marked as "proposed." If an attribute or

property has not been

proposed to the W3C and is not standard, it is marked as "extension." "



You can always place VBSCript code in the ASP page or Javascript code in the

client

browser to load the style sheets particular to the brower.



Assumung you create two style sheets, one for MSIE and the other for

Netscape:

ASP Code:

<%

response.write("<html><head>")

browser = request.servervariables("HTTP_USER_AGENT")

IF instr(browser,"MSIE") > 0 THEN

   response.write("<LINK REL=stylesheet TYPE=""text/css""

HREF=""../css/msie.css"">")

ELSE

   response.write("<LINK REL=stylesheet TYPE=""text/css""

HREF=""../css/netscape.css"">")

END IF

response.write("</head>")

%>



JavaScript Code:

<html>

<head>

<SCRIPT LANGUAGE="JavaScript1.2">

<!--

var BrowserName = navigator.appName;

var ie = "Microsoft Internet Explorer";

if ( ie == BrowserName)

{

   document.write('"<LINK REL=stylesheet TYPE="text/css"

HREF="../css/msie.css"');

}

else

{

   document.write('"<LINK REL=stylesheet TYPE="text/css"

HREF="../css/netscape.css"');

}

// -->

</SCRIPT>

</head>







Now if you stay will the W3C CSS public standards AND don't use MS

extensions or proposals,

then you can simply place this line of code in your pages:



<LINK REL=stylesheet TYPE="text/css" HREF="../css/content.css">



content.css might look something like this:



<STYLE>

<!--

<! -- define the display attribute for the table -->

TABLE { color: blue;

                background-color: white;

                font-family: Tahoma;

                font-size: 14pt;)

<!-- define the display attributes for rows as different from the table:

Here the font-size is 75% of 14pt -->

TR { font-size: 75%; }

TD {color: red; background-color: yellow}

// -->

</STYLE>



I hope you get the idea.



Please visit the MS site

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/refer

ence/attributes.asp

for more information and examples.





Dallas





----- Original Message -----

From: "ARTI MAHOBE" <arti_mahobe@h...>

To: "ASP Databases" <asp_databases@p...>

Sent: Friday, July 27, 2001 7:55 AM

Subject: [asp_databases] Re: Generic Code





> Hi Dallas,

> I generally see your messages which you answer to the Questions put here.

> I want to tell you what I have done to achieve this -

> To make the Pages Netscape compatible so we use an include file for table

> structure which is included in all the pages. So I have created this

include

> file, defined variables in it and I am using these variables, which act as

> Application level variables only. But I want something different.

Something

> very compact. This has to be IE 5 and above/Netscape 4.5 and above

> compatible. So can u suggest something in this regard. Pls. hurry up.

>

> regards,

> Arti

>

>

>

> >From: "Dallas Martin" <dmartin@z...>

> >Reply-To: "ASP Databases" <asp_databases@p...>

> >To: "ASP Databases" <asp_databases@p...>

> >Subject: [asp_databases] Re: Generic Code

> >Date: Fri, 27 Jul 2001 07:10:42 -0400

> >

> >It's called Cascading Style Sheets.

> >You can use an include file or declare it in each page/

> >Here's an example:

> >

> ><style>

> ><!--

> >A:active {color: red}

> >A:hover {color: red}

> >A:visited {color: red}

> >A:link {color: red}

> >

> >DIV {font-weight: bold;

> >      color: black;

> >      background-color: cornsilk;

> >      width: 100%;

> >      border-style:

> >      solid; border-width: thin;}

> >

> >TD {font-weight: bold}

> >

> >TH {font-size: 8pt;

> >     color: black;

> >     font-family: Verdana;}

> >

> >CAPTION {font-size: 10pt;

> >   font-weight: bold;

> >      color: black;

> >      font-family: Verdana;}

> >// -->

> ></style>

> >

> >For more information go to http://msdn.microsoft.com/workshop/entry.asp

> >and select the Cascading Style Sheets link

> >

> >Dallas

> >

> >

> >

> >----- Original Message -----

> >From: "ARTI MAHOBE" <arti_mahobe@h...>

> >To: "ASP Databases" <asp_databases@p...>

> >Sent: Friday, July 27, 2001 6:48 AM

> >Subject: [asp_databases] Generic Code

> >

> >

> > > I want to write a generic code to set Font face, Font color, Font Size

> >Table

> > > Head

> > > bgcolor etc. so that whenever a change is there, I don't need to

change

> >all

> > > these in all

> > > the pages. I have written something in an include file which is

working,

> >but

> > > I want to

> > > look ahead for some more solutions. I would be thankful if anybody

could

> > > suggest

> > > me a good piece of code.

> > >

> > > Thanks

> > > Arti

>

Message #10 by "Peter Foti (PeterF)" <PeterF@S...> on Fri, 27 Jul 2001 10:25:49 -0400
I'm a firm believer in the CSS approach.  Of course, Netscape 4 has

terrible CSS support, so you need a workaround for NS4.  Here's what I

would do:



1.  Create a stylesheet and define a class for your table format.  For

example:

table.myTable, table.myTable td

{

	font-family: arial,sans-serif;

	background-color: #cccccc;

	color: #000000;

	font-size: 12pt;

}



table.myTable th

{

	background-color: #ff0000;

}



2.  Do some server side browser sniffing to determine if the client is

using NS4.  Since IE4 and IE5 and Netscape 6 should all have enough CSS

support to handle the font and color changes correctly, we only need to

special case the NS4.



3.  Use server side scripts for creating your table.  If you know they

are using Netscape 4, you can print out your table with font tags in it,

etc.  If not, then you just include your class in your table tag.

<table border="0" cellpadding="0" cellspacing="0" class="myTable">



Below is some browser sniffing code with an example Sub for printing two

different table starts if you decide to go this route.

Hope this helps,

Peter





<!-- browser.asp -->

<%

Dim SvrVarCollection

Set SvrVarCollection = Request.ServerVariables

Dim ua, os

Dim IE4RelOrNewer, IE5, IE4, IE3, IE302, AnyIE, Netscape3, Netscape4,

Netscape6, AnyNetscape, BetaVer, IE4Release

Dim Win95, Win98, WinNT, AnyMac, PPC, Mac68K, Unix

Dim SC1, SC2, MB, MP



''''''''''''''''''''

' Server Variables '

''''''''''''''''''''



ua  = SvrVarCollection("HTTP_USER_AGENT")

os  = SvrVarCollection("HTTP_UA_OS")





'''''''''''''''''''''''''

' Determine the Browser '

'''''''''''''''''''''''''



AnyIE = False

IE5 = False

IE4 = False

IE3 = False

IE302 = False

AnyNetscape = False

Netscape4 = False

Netscape3 = False



If Instr(ua, "MSIE") Then

	AnyIE = True

	If Instr(ua, "MSIE 5.") Then

		IE5 = True

	ElseIf Instr(ua, "MSIE 4.") Then

		IE4 = True

	ElseIf Instr(ua, "MSIE 3.") Then

		IE3 = True

		If Instr(ua, "MSIE 3.02") Then

			IE302 = True

		End If

	End If



ElseIf Instr(ua, "Mozilla") And Instr(ua, "compatible") = 0 Then

	AnyNetscape = True

	If Instr(ua, "Mozilla/5") Then

		Netscape6 = True

	ElseIf Instr(ua, "Mozilla/4") Then

		Netscape4 = True

	ElseIf Instr(ua, "Mozilla/3") Then

		Netscape3 = True

	End If

End If



'''''''''''''''''''''

' Determine if Beta '

'''''''''''''''''''''

BetaVer = False



SC1 = Instr(ua, ";")

SC2 = Instr(SC1 + 1, ua, ";")

MB = Instr(SC1 + 1, ua, "b")

MP = Instr(SC1 + 1, ua, "p")



If (AnyIE And ((MB > SC1 And MB < SC2) Or (MP > SC1 And MP < SC2))) Or

(AnyNetscape And Instr(ua, "b") < SC1) Then

   BetaVer = True

End If



''''''''''''''''''''

' Determine the OS '

''''''''''''''''''''



Win95 = False

Win98 = False

WinNT = False

AnyMac = False

PPC = False

Mac68K = False

Unix = False

Win31_WinNT351 = False



If InStr(ua, "Windows 95") Or InStr(ua, "Win95") Then

	Win95 = True

ElseIf InStr(ua, "Windows 98") Or InStr(ua, "Win98") Then

	Win98 = True

ElseIf InStr(ua, "Windows 3.1") Or InStr(os, "Win16") Then

	Win31_WinNT351 = True

ElseIf InStr(ua, "NT") Or InStr(os, "NT") Then

	WinNT = True

ElseIf InStr(ua, "Mac") Then

	AnyMac = True

	If InStr(ua, "PowerPC") Or InStr(ua, "PPC") Then

		PPC = True

	ElseIf InStr(ua, "68000") Or InStr(ua, "68K") Then

		Mac68K = True

	End If

ElseIf InStr(ua, "X11") Then

	Unix = true

End If



' if AnyIE then Microsoft Internet Explorer

' if AnyNetscape then Netscape Navigator

' if IE5 then 5.x

' if IE4 then 4.x

' if IE3 then 3.x

' if Netscape6 then Netscape 6

' if Netscape4 then Netscape 4

' if Netscape3 then Netscape 3

' if Win95 then Windows 95

' if Win98 then Windows 98

' if Win31_WinNT351 then Windows 3.1 or Windows 3.51

' if WinNT then Windows NT

' if AnyMac then Macintosh

' if Unix then Unix



' Here is a sample of how you can write different code for Nutscrape 4

Sub writeTableStart()

	' Only need special cases for Netscape since their CSS support

sucks

	If Netscape4 then

		Response.Write( "<table border='0' cellpadding='0'

cellspacing='0' bgcolor='#cccccc'>" )

	Else

		Response.Write( "<table border='0' cellpadding='0'

cellspacing='0' class='myTable'>")

	End if

End Sub

%>







> -----Original Message-----

> From: ARTI MAHOBE [mailto:arti_mahobe@h...]

> Sent: Friday, July 27, 2001 6:48 AM

> To: ASP Databases

> Subject: [asp_databases] Generic Code

> 

> 

> I want to write a generic code to set Font face, Font color, 

> Font Size Table 

> Head

> bgcolor etc. so that whenever a change is there, I don't need 

> to change all 

> these in all

> the pages. I have written something in an include file which 

> is working, but 

> I want to

> look ahead for some more solutions. I would be thankful if 

> anybody could 

> suggest

> me a good piece of code.

> 

> Thanks

> Arti



Message #11 by "Tomm Matthis" <matthis@b...> on Sat, 28 Jul 2001 11:03:42 -0400
Look into using style sheets (CSS)



-- Tomm



> -----Original Message-----

> From: ARTI MAHOBE [mailto:arti_mahobe@h...]

> Sent: Friday, July 27, 2001 6:48 AM

> To: ASP Databases

> Subject: [asp_databases] Generic Code

>

>

> I want to write a generic code to set Font face, Font color, Font

> Size Table

> Head

> bgcolor etc. so that whenever a change is there, I don't need to

> change all

> these in all

> the pages. I have written something in an include file which is

> working, but

> I want to

> look ahead for some more solutions. I would be thankful if anybody could

> suggest

> me a good piece of code.

>

> Thanks

> Arti

>

>

Message #12 by Sam Clohesy <sam@e...> on Fri, 27 Jul 2001 12:12:09 +0100
<%

'   

'

'



ConnString = "conneventsdiary"

'ConnString = "DRIVER={Microsoft Access Driver (*.mdb)};

DBQ=d:\users\asp-dev.ml.org\db\ubbs.mdb"





BBTitle = "Discussion Forum"



BadWordFiler = "true"   '  True / False To use filter



Smiles = "true"  '  True/False to use Smiles



ICQ = "true" '   True/False to use ICQ Graphics



PageBGColor = "#D9A3C6"



TitleImgLocation = "bboard.gif"



DefaultFontFace = "Frutiger 45 Light, Arial, Helvetica"

DefaultFontColor = "#000000"



LinkColor = "#000000"

LinkTextDecoration = "underline"



VisitedLinkColor = "#008080"

VisitedTextDecoration = "underline"



ActiveLinkColor = "red"



HoverFontColor = "red"

HoverTextDecoration = "underline"



HeadCellColor="#660066"

HeadFontColor = "#ffffff"



CategoryCellColor="#8080FF"

CategoryFontColor="#CCCCCC"



ForumCellColor = "#F4F2F4"

AltForumCellColor = "#CCCCCC"



ForumFontColor = "#000080"

ForumLinkColor = "#000080"



NewFontColor = "#000000"





%>



This came from a free forum download from Aspin.com



Quite useful though


  Return to Index