Multicolored Category Selector
By
Paul
This article is based on
http://www.webmastersite.net/forums/index.php?sho...Set your category selector options line (settings->general appearance) to this:
<option class="selectcolor{CATINDENT}" value="{CATID}">{CATINDENT} {CATNAME}</option>
Then in your stylesheet(s) add this:
option.selectcolor { background-color: green }
option.selectcolor- { background-color: blue }
option.selectcolor-- { background-color: red }
Plus continue adding lines for as many levels of indentation as you have.
Note: If you use a different indentation character than the hyphen, you will have to replace the hyphens with your character in the stylesheet.
Rating:
4.67/5 based on 3 votes. The median rating is 5.
Submitted:
08/24/04
Description:
Use different colors for each layer of depth in your category selector, to distinguish them.
Views:
1142 views. Averaging 1 per day.
In the most recent 30 day period, there've been 1 views.
Previous Article
| Next Article