Conforums Support
Board Enhancements >> Hacks >> Add more predefined color selections
http://support.conforums.com/index.cgi?board=code&action=display&num=1161980752

Add more predefined color selections
Post by Garet on Oct 27th, 2006, 3:25pm


Code created by:
Dave
Cross-Browser
Board Footers
Adds more to this User Image


on Oct 27th, 2006, 12:15pm, Dave wrote:


<script type="text/javascript">
<!--
if(document.postmodify) {
if(document.postmodify.color) {
document.forms['postmodify'].color.options[document.forms['postmodify'].color.options.length] = new Option('Text to appear','Color Value');
}}
// -->
</script>

Repeat this line:

document.forms['postmodify'].color.options[document.forms['postmodify'].color.options.length] = new Option('Text to appear','Color Value');

To insert more color selections.

Change the info in red to suit.