Back to vBulletin 3.8 Template Modifications

Alts in color picker for the colorblind
Mod Version: 1.00, by Jafo232

vB Version: 3.8.1 Rating: (1 vote - 5.00 average) Installs: 8
Released: 12 Feb 2009 Last Update: Never Downloads: 0
Not Supported  

I http://www.vbulletin.com/forum/index.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:

Code:
option.onclick = vB_Text_Editor_Events.prototype.coloroption_onclick;
below add:
Code:
option.title = option.colorname;
On my version, I found the javascript a little different, so here is what I found:

Code:
option.onclick = vB_Text_Editor_Events.prototype.coloroption_onclick
next to it add:
Code:
;option.title = option.colorname;
Hope this helps those like me who cant see colors well.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024