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)
 Forum Title
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

brduran
New Member

Canada
98 Posts

Posted - 12 June 2003 :  19:29:49  Show Profile  Visit brduran's Homepage
What would be the code secuence to insert in a newly designed ".asp" page, so every time the page is called the first thing you see at the top is the Forum Title.

This newly designed page is in the same directory as the rest of the forum files.

Thank you!



Bernardo Duran
www.teknician.com

brduran
New Member

Canada
98 Posts

Posted - 13 June 2003 :  00:06:23  Show Profile  Visit brduran's Homepage
This is what I have so far. It works, but the fonts specs and the Forum Title don't show. Any ideas please

<%
Response.Write " <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"" bgcolor=""" & strHeadCellColor & """>" & vbNewLine & _
" <TR>" & vbNewLine &_
" <TD><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """><h2>" & strForumTitle & "</font>" & vbNewLine &_
" </TD>" & vbNewLine &_
" </TR>" & vbNewLine &_
" <TR>" & vbNewLine &_
" <p><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """>TEXT TEXT TEXT TEXT TEXT TEXT TEXT</font>" & vbNewLine &_
" <p><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """>TEXT TEXT TEXT TEXT TEXT TEXT TEXT</font>" & vbNewLine &_
" <p><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """>TEXT TEXT TEXT TEXT TEXT TEXT TEXT</font>"" & vbNewLine &_
" </TD>" & vbNewLine &_
" </TR>" & vbNewLine &_
" </TABLE>" & vbNewLine
%>



Bernardo Duran
www.teknician.com

Go to Top of Page

brduran
New Member

Canada
98 Posts

Posted - 13 June 2003 :  23:31:30  Show Profile  Visit brduran's Homepage
I got it working properly. Do the following,

quote:
<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_header_short.asp" -->
<%
Response.Write " <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _
" <TR>" & vbNewLine &_
" <TD><DIV align=""center""><H4>" & strForumTitle & "</H4>" & vbNewLine &_
" </DIV></TD>" & vbNewLine &_
" </TR>" & vbNewLine &_
" <TR>" & vbNewLine &_
" <TD>" & vbNewLine &_
" <H5>TEXT TEXT</H5>" & vbNewLine &_
" <p><DIV align=""justify""><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """>TEXT TEXT TEXT TEXT</font>." & vbNewLine &_
" <p><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """>TEXT TEXT TEXT TEXT</font>" & vbNewLine &_
" <p><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """>TEXT TEXT TEXT TEXT</font>" & vbNewLine &_
" </DIV></TD>" & vbNewLine &_
" </TR>" & vbNewLine &_
" </TABLE>" & vbNewLine
%>
<%
Response.Write " <p><table width=""0%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine &_
" <TR><TD>" & vbNewLine &_
" <FORM>" & vbNewLine &_
" <A HREF=""#"" VALUE=""Close"" onClick=""self.close()"" onMouseOver=""window.status='Close this window' ;return true"" onMouseout=""window.status='' ;return true""><font face=""" & strDefaultFontFace & """ color=""" & strHeaderFontColor & """ size=""" & strDefaultFontSize & """>Close window</font></A>" & vbNewLine &_
" </FORM>" & vbNewLine &_
" </TD></TR>" & vbNewLine &_
" </TABLE>" & vbNewLine
%>


Bernardo Duran
www.teknician.com

Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 14 June 2003 :  00:19:58  Show Profile
You should include this at the end:
<!-- #include file="inc_footer_short2.asp" -->


You will just have to make a file called inc_footer_short2.asp because inc_footer_short.asp has the Close Window Link at the bottom.
Go to Top of Page

brduran
New Member

Canada
98 Posts

Posted - 14 June 2003 :  15:33:59  Show Profile  Visit brduran's Homepage
Great! I didn't know there was a "inc_footer_short.asp". All I wanted was to be able to add the "Close Window" feature at the bottom, and it was already in a file. Thank you, Dave6625!



Bernardo Duran
www.teknician.com

Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 14 June 2003 :  15:49:27  Show Profile
Your welcome.
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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07