View Single Post
Old 08-17-2004, 04:18 PM   #5 (permalink)
tannhauser
Inactive
 
Join Date: 08-17-04
Location: Manchester, UK
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

tannhauser is liked by many
Here's the start of the code. I've only removed the VARs that identify the merchant. I can post the rest of it, if you like.

See down near the bottom, it responds to changes of 'font family', but the 'size makes no difference.

Is it possble to remove the styling and use css styles?

___________________

/**** REPLACE THE VALUES IN THESE LINES ****/
var textColor="black";
var backgroundColor="transparent";
var showCart="no"; // only "yes" or "no"
var cartColor="black"; // only "black" or "white"
var textAlign="left"; // only "left" "right" or "center"

/**** DON'T CHANGE ANYTHING BELOW HERE ****/

var linkColor=textColor;
var cookies=document.cookie; //read in all cookies
var start = cookies.indexOf("ss_cart_" + serialnum + "=");
var cartvalues = "";
var linecount = 0;
var start1;
var end1;
var tmp;

// Start Output
document.write("<div style=\"color:" + textColor + ";");
document.write("background-color:" + backgroundColor + ";");
document.write("text-align:" + textAlign + ";");
document.write("font-family: Verdana, Arial, Helvetica, sans-serif;");
document.write("font-size: 8pt;");
document.write("\">\n");
tannhauser is offline   Reply With Quote