BillyRayPreachersSon
Programmer
I remember someone recently asked how to find out if a user had a certain font installed on their computer.
Unfortunately, I can't find the post anymore, but here's more information on how to do this on a webpage (when viewed using IE 6).
This information comes from Microsoft's MSDN library at:
Dan
Unfortunately, I can't find the post anymore, but here's more information on how to do this on a webpage (when viewed using IE 6).
This information comes from Microsoft's MSDN library at:
Code:
<HTML>
<SCRIPT>
function getFonts()
{
var nFontLen = dlgHelper.fonts.count;
var rgFonts = new Array();
for ( var i = 1; i < nFontLen + 1; i++ )
{
rgFonts[i] = dlgHelper.fonts(i);
}
rgFonts.sort();
for ( var j = 0; j < nFontLen; j++ )
{
document.write( rgFonts[j] + "<BR>" );
}
}
</SCRIPT>
<BODY onload="getFonts()">
<OBJECT id=dlgHelper CLASSID="clsid:3050f819-98b5-11cf-bb82-
00aa00bdce0b" width="0px" height="0px">
</OBJECT>
</BODY>
</HTML>
Dan