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)
 Need help adding icon to default.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dave Goldman
New Member

USA
65 Posts

Posted - 25 August 2009 :  20:07:10  Show Profile  Reply with Quote
Hey guys, I added a photo gallery and the following code will post the link to the default.asp, however with no icon.

Here is the code:

Response.Write " <tr>" & vbNewline & _
" <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(7,6) &_
"""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """ size=""+1""><b>Photo Album</b></font></td>" & vbNewline & _
" </tr>" & vbNewline & _
" <tr>" & vbNewline & _
" <td rowspan=""" & vbNewline & _
" 1"& vbNewline & _
""" bgcolor=""" & strForumCellColor & """> </td>"& vbNewline & _
" <td bgcolor=""" & strForumCellColor & """ colspan=""6"">" & vbNewline & _
" <font align=left face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""photo_album.asp"">Post your pictures here!</a></font>" & vbNewline & _
" </td>" & vbNewline & _
" </tr>" & vbNewline
%>

I also noticed that this code here is what adds the icon:

" " & getCurrentIcon(strIconFolderNew,"New Posts","align=""absmiddle""") &

I am unable to get the icon to display in the left column and can not get this to work. Any one have a suggestion?

TIA

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 27 August 2009 :  13:03:07  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
	Response.Write	"      <tr>" & vbNewline & _
" <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(7,6) & """>" & vbNewline & _
"<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """ size=""+1""><b>Photo Album</b></font></td>" & vbNewline & _
" </tr>" & vbNewline & _
" <tr>" & vbNewline & _
" <td rowspan=""1"" bgcolor=""" & strForumCellColor & """>" & getCurrentIcon(strIconFolderNew,"New Posts","align=""absmiddle""") & "</td>"& vbNewline & _
" <td bgcolor=""" & strForumCellColor & """ colspan=""6"">" & vbNewline & _
" <font align=left face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""photo_album.asp"">Post your pictures here!</a></font>" & vbNewline & _
" </td>" & vbNewline & _
" </tr>" & vbNewline
%>


i think you are after somthing like that...i havent tested it and i have cleaned up the code slightly

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