Home  >  Community  >  Vendio Services  >  Sales Manager Merchandising Edition and Image Hosting  >  template font color


<< previous topic post new topic post reply next topic >>
 vikemom
 
posted on February 15, 2002 07:08:31 AM
I would like to have my "Default Listing Text" (DLT) use the same font color that the template uses, so that I can use the same DLT for all my auctions (without having to adjust the font color each time).

Is the template's font color available as a global variable that I can access via javascript? If so, what is the variable name?

 
 SonyaCS
 
posted on February 15, 2002 08:23:04 AM
Hi Vikemom,

Unfortunately the font color for default text is not a global variable. It is black by default.

-Sonya
Got Questions? Check out AuctionWatch.com's Customer Service center at http://www.auctionwatch.com/service !
 
 kahml
 
posted on February 15, 2002 08:49:54 AM
So, vikemom, are you only using one template?

If so, what color is your template using? It has to have some number associated with the font.

You should be able to use the font="#xxxxxx" attribute in the DLT...

 
 vikemom
 
posted on February 16, 2002 12:06:21 PM
I use several different templates depending on what color scheme works best with my photo. However, I only need one "Default Listing Text". I can change the color attribute of the font tag each time, but that is time intensive. I would like the "Default Listing Text" to be usefull as a default, as implied by the name, but it really isn't if you have to modify it each time to match your color scheme.

I've written a javascript function that can automatically change the text color based on a given background color. The problem is in detecting the color used as the table backround.

If the template colors where available as global variables that would make it easy. I could then use whatever font color is being used by the template.

That sure would be nice!

 
 kahml
 
posted on February 16, 2002 12:25:44 PM
Suggest you clear out the DLT and hard code the phrase in your auction with the appropriate color - and forget about the javascript.

I just learned how inflexible DLT really is:

http://www.auctionwatch.com/mesg/read.html?num=15&thread=65395

 
 
<< previous topic post new topic post reply next topic >>

Jump to

All content © 1998-2026  Vendio all rights reserved. Vendio Services, Inc.™, Simply Powerful eCommerce, Smart Services for Smart Sellers, Buy Anywhere. Sell Anywhere. Start Here.™ and The Complete Auction Management Solution™ are trademarks of Vendio. Auction slogans and artwork are copyrights © of their respective owners. Vendio accepts no liability for the views or information presented here.

The Vendio free online store builder is easy to use and includes a free shopping cart to help you can get started in minutes!