PDA

View Full Version : Color Picker


grey_goose
12-17-2010, 08:56 PM
Anyone know how to add/replace a color?

I tried added the name/hex in includes/html_color_names.php, and then in clientscript/vbulletin_textedit.js, but all it does is freeze the picker.

calorie
12-17-2010, 09:20 PM
What edit did you make to the vbulletin_textedit.js file? Almost sounds like a JS error due to a typo.

grey_goose
12-18-2010, 08:29 PM
Using Notepad++, I changed line 3620:

from:
'#FFFFFF' : 'White'

to:
'#336699' : 'steelblue'

I also added the definition for steelblue to html_color_names.php

grey_goose
12-23-2010, 05:36 PM
Anyone?

Lynne said to post this here instead of on vb.com...