Author |
Topic  |
|
pyrodude
Junior Member
 
101 Posts |
Posted - 21 February 2003 : 09:26:41
|
I think this would be the right place for this, but if not, you can move it.
I am trying to add a "Credits" box on my serverhacker forum. The code I am using (or trying to, anyways) is the following:
<% '###Credits###
Response.Write "<table width=""100%"" border=""0"" bordercolor=""" & strTableBorderColor & """ cellspacing=""1"" cellpadding=""0"" bgcolor=""" & strTableBorderColor & """>" & vbNewLine & _ "<tr>" & vbNewLine & _ "<td bgcolor=""" & StrHeadCellColor & """>" & vbNewLine & _ "<font size=""4"" color=""" & StrHeadFontColor & """> Credits</font>" & vbNewLine & _ "</td>" & vbNewLine & _ "</tr>" & vbNewLine & _ "<tr>" & vbNewLine & _ "<td align=""left"">" & vbNewLine & _ "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" bgcolor=""" & strTableBorderColor & """>" & vbNewLine & _ "<td>" & vbNewLine
'start the credits content
<a href="http://forum.snitz.com">"<font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font>"</a> & vbNewLine & _ "<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _ <a href="http://serverhacker.com">"<font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font>"</a> & vbNewLine & _ "<tr>" "</tr>" <a href="http://www.tvthemetunes.net/">"<font size=""7"" color=""" & StrHeadFontColor & """> Smileys by MeTV</font>"</a>
'end the credits content
call MemInSpot
Response.Write "</td>" & vbNewLine & _ "</tr>" & vbNewLine & _ "</table>" & vbNewLine & _ "</td>" & vbNewLine & _ "</tr>" & vbNewLine & _ "</table>" & vbNewLine
%>
What have i done wrong? I get this error, and dont know what to do.
Microsoft VBScript compilation error '800a0400'
Expected statement
/forum2/forum/include/credits.asp, line 17
<a href="http://forum.snitz.com">"<font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font>"</a> & vbNewLine & _ "<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _ <a href="http://serverhacker.com">"<font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font>"</a> & vbNewLine & _ ^
Thanks! |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
Posted - 21 February 2003 : 09:34:54
|
Looks like you need to start that line with:Response.Write "
the comment broke up the concetanated response.write string.
|
 Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
 |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
Posted - 21 February 2003 : 09:40:01
|
In fact, make this part 'start the credits content
<a href="http://forum.snitz.com">"<font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font>"</a> & vbNewLine & _ "<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _ <a href="http://serverhacker.com">"<font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font>"</a> & vbNewLine & _ "<tr>" "</tr>" <a href="http://www.tvthemetunes.net/">"<font size=""7"" color=""" & StrHeadFontColor & """> Smileys by MeTV</font>"</a>
'end the credits content
Look like this: 'start the credits content
response.write "<a href=""http://forum.snitz.com""><font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font></a>" & vbNewLine & _ "<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _ "<a href=""http://serverhacker.com""><font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font></a>" & vbNewLine & _ "<tr>" & vbNewLine & _ "</tr>" & vbNewLine & _ "<a href=""http://www.tvthemetunes.net/""><font size=""7"" color=""" & StrHeadFontColor & """> Smileys by MeTV</font></a>"
'end the credits content
|
 Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
Edited by - D3mon on 21 February 2003 09:42:37 |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 21 February 2003 : 10:04:31
|
Shouldn't that read "Icons by MeTV"? 
This credit box would be in addition to the existing powered by link, right?
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
pyrodude
Junior Member
 
101 Posts |
Posted - 21 February 2003 : 13:23:29
|
Yep, should be Icons. And thanks again...They are awesome. Actually, the credits page is going to be an include file for sitenews.asp. |
 |
|
|
Topic  |
|