Thanks Mikey but comic sans ms is widely supported... starting from Windows 2000. Now adays there is only a small percentage of people using less than windows 2000. On my forum I rarely see someone with windows 98 or an old version of Macintosh.
Anyways I have got it... and here is how to do it:
Files to edit:
- functions/functions_format_post.asp
- includes/RTE_iframe_select_font.asp
In the first file above, around line 208, you will see the fonts that are currently present. The first one is:
strMessage = Replace(strMessage, "", "<font face=""Arial, Helvetica, sans-serif"">", 1, -1, 1) |
Add this code after the above:
'Mod to add support for font comic sans ms strMessage = Replace(strMessage, "[FONT=Comic Sans MS]", "<font face=""Comic Sans MS, Helvetica, sans-serif"">", 1, -1, 1) 'Mod ended
|
In the second file above (includes/RTE_iframe_select_font.asp), around line 70 you will see a table that has cells/rows for the fonts, the first one is:
<tr onMouseover="overItem(this)" onMouseout="outItem(this)" OnClick="mouseClick('Arial, Helvetica, sans-serif')" style="cursor: default;"> <td width="100%" class="pStyle" style="font-family: Arial, Helvetica, sans-serif;">Arial</td> </tr> |
Add the following code after the above:
<tr onMouseover="overItem(this)" onMouseout="outItem(this)" OnClick="mouseClick('Comic Sans MS, Helvetica, sans-serif')" style="cursor: default;"> <td width="100%" class="pStyle" style="font-family: Comic Sans MS, Helvetica, sans-serif;">Comic Sans MS</td> </tr> |