PDA

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


Jafo232
12 Feb 2009, 12:00
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_onclick;
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_onclick
next to it add:

;option.title = option.colorname;


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

Vaupell
12 Feb 2009, 16:25
voted 5 for excelent

Ohiosweetheart
12 Feb 2009, 16:33
Very good!

jrap
16 Feb 2009, 01:06
Great idea. Thanks!

marcut
29 Mar 2009, 00:05
Thanks, I'm colorblind and that really helps.

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

MichaelDance
07 Aug 2010, 13:50
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
01 Jul 2011, 11:04
can't find it in 4.1.4 either.. :-(