Log in

View Full Version : New Posting Features - Alts in color picker for the colorblind


Jafo232
02-11-2009, 10:00 PM
I asked over at vbulletin.com (http://www.vbulletin.com/forum/showthread.php?t=299716) in the suggestion area that they put alts in the color picker section of the WYSIWYG. Basically, when you mouse over any of the colors, it will alt with the color name, i.e. "Red". Everyone seemed to agree it should already be there and someone also posted the code to do it:


In clientscript/vbulletin_textedit.js find:

option.onclick = vB_Text_Editor_Events.prototype.coloroption_onclic k;
below add:

option.title = option.colorname;


On my version, I found the javascript a little different, so here is what I found:


option.onclick = vB_Text_Editor_Events.prototype.coloroption_onclic k
next to it add:

;option.title = option.colorname;


Hope this helps those like me who cant see colors well. :)

Vaupell
02-12-2009, 03:25 PM
voted 5 for excelent

Ohiosweetheart
02-12-2009, 03:33 PM
Very good!

jrap
02-16-2009, 12:06 AM
Great idea. Thanks!

marcut
03-28-2009, 11:05 PM
Thanks, I'm colorblind and that really helps.

NetRover
04-05-2009, 01:40 PM
Good stuff, I'm colour blind too and we are forgotten about sometimes. well done!

MichaelDance
08-07-2010, 12:50 PM
Cant find them on 3.8.6 = :( can u help update it for 3.8.6 please so i can offer this to my users?

wan4all
07-01-2011, 10:04 AM
can't find it in 4.1.4 either.. :-(