Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: Alex - search bug?

Quote Reply
Re: Alex - search bug? In reply to
The print_cat sub is for the category listings on your home page only. The actual link descriptions are controlled by link.html. Note that it is a partial file so you will have to edit it by hand.

All I did is switch the formatting of link.html from a unordered list to a definition list:

<DL><DT><FONT SIZE="2"><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></A></FONT>
<%if isNew%>
<IMG SRC="foo/images/new.gif" WIDTH="XX" HEIGHT="XX" ALT="new">
<%if isPopular%>
<IMG SRC="foo/images/cool.gif" WIDTH="XX" HEIGHT="XX" ALT="cool">
<BR><small class="date"> <FONT SIZE="1">(Added: <%Date%>, Hits: <%Hits%>, Rating: <%Rating%>, Votes: <%Votes%> )
<A HREF="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate this site</A></FONT></small><BR>
<%if Description%>
<DD><span class="descript"><FONT SIZE="2"><%Description%></FONT></span><BR>

The redundant font and CSS class codes help ensure cross browser appearance. Also note that I am using graphics for the new and cool flags...just change them to match your graphic references or you can switch the IMG tags for the text that came with the original file.

Glad you liked my site!

[This message has been edited by Brad Richardson (edited March 22, 1999).]
Subject Author Views Date
Thread Alex - search bug? Brad Richardson 2129 Mar 16, 1999, 10:29 PM
Post Re: Alex - search bug?
Alex 2025 Mar 17, 1999, 3:51 PM
Post Re: Alex - search bug?
Brad Richardson 2028 Mar 17, 1999, 4:21 PM
Post Re: Alex - search bug?
JimN 2015 Mar 21, 1999, 10:49 PM
Post Re: Alex - search bug?
Brad Richardson 2030 Mar 22, 1999, 10:50 AM
Post Re: Alex - search bug?
JimN 2014 Mar 22, 1999, 2:15 PM