Bill
Newbie
Joined: 19 Dec 2005
Posts: 7
|
Hi I have tried to edit the font color for catagories as described, simply changing the color makes the product page jump to the bottom of the page and in general throws the whole page out of wack!
below is the code to that point
<!--BEGIN HEADER TABLE-->
<table WIDTH=765 HEIGHT=28 BGCOLOR="#000000" BORDER=0 CELLPADDING=0 CELLSPACING=0>
<tr>
<td HEIGHT=40 ALIGN=CENTER>
<font face="Verdana, Arial" size="4" color="#ffffff"><b>Online Pro Shop</b><br></font>
<font face="Verdana, Arial" size="2" color="#ffffff"><i>Thanks for visiting our store!</i></font>
</td><td HEIGHT=40 ALIGN=right><font face="Verdana, Arial" color="#ffffff" size=2>
<form METHOD="POST" ACTION="agora.cgi">
<input TYPE="hidden" NAME="cart_id" VALUE="%%cart_id%%">
<input TYPE="text" NAME="keywords" SIZE=20 MAXLENGTH=40>
<input TYPE="hidden" NAME="ppinc" VALUE="search">
<input TYPE="hidden" NAME="exact_match" VALUE="on">
<input TYPE="submit" NAME="search_request_button" VALUE=" Search "></form></font>
</td></tr></TABLE>
<TABLE WIDTH=765 BORDER=0 CELLSPACING=0 CELLPADDING=0 align=top>
<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=blank.gif" bgcolor="#000000" height=100%><img src="agora.cgi?secpicserve=blank.gif" width="145" height="1" border="0"><br><br>
<b><font face="verdana,arial" color="#ffffff" size=-1><CENTER>Categories:</CENTER></font>
<font face="verdana,arial" color="white" size=-1>
<!--agorascript-pre {
local(%db_ele,$sku,$category,%category_list);
if (!($sc_db_lib_was_loaded =~ /yes/i))
{ &require_supporting_libraries (__FILE__, __LINE__, "$sc_db_lib_path"); }
&capture_STDOUT;
&get_prod_db_element($db{"product"},*db_ele);
foreach $sku (keys %db_ele) {
$category = $db_ele{$sku};
$category_list{$category}++;
}
foreach $category (sort(keys %category_list)) {
$category2 = $category;
$category2 =~ s/_/ /ig;
print " <a href=\"agora.cgi?cart_id=%%cart_id%%&product=",
"$category\">$category2</a><br>\n";
}
&uncapture_STDOUT; }
--></font></b>
|