Tweaking Radio's HTML Editors
Today I decided to try David Phillips javascript Tweaking Radio’s HTML editors (both of them!) to change the fonts used by the built-in HTML editor, works great. I’m using Courier New font for this post.
If I could figured out the font family for Comic Sans Ms then I’d be good.
I’d also like to be able to change the font colors available..I haven’t ever used darkgoldenrod, gray or olive and would like to change them to mediumvioletred and slateblue and dodgerblue, I’m assuming that with a little modification to David’s script that I can change the colors but not sure which way it should be, possibly one of these
document.forms(0).elements(4).options(17).style = ‘color:mediumvioletred’;
document.forms(0).elements(4).options(17).value = ‘mediumvioletred’;
document.forms(0).elements(4).options(17).style.color = ‘mediumvioletred’;
document.forms(0).elements(4).options(17).value = ‘mediumvioletred’;
Thanks David..this is great!!!! So much easier than changing the hard coded script in Radio and this way doesn’t wipe out changes with each radio.root update.
Update..we figured out the font family of Comic Sans MS – its Comic Sans MS – using it from the drop down box now
and the correct code for changing the colors in the drop down box is (whereas 13 was olive and 15 was darkgoldenrod)
document.forms(0).elements(5).options(13).style.color = ‘mediumvioletred’;
document.forms(0).elements(5).options(13).text = ‘mediumvioletred’;
document.forms(0).elements(5).options(15).style.color = ‘slateblue’;
document.forms(0).elements(5).options(15).text = ‘slateblue’;