Код: Выделить всё
if (typeof font[cstrName] == "string") {
var body = document.getElementByTagName("body");
body.style.fontFamily = font[cstrName];
}
Подробнее здесь: https://stackoverflow.com/questions/793 ... -body-font
Код: Выделить всё
if (typeof font[cstrName] == "string") {
var body = document.getElementByTagName("body");
body.style.fontFamily = font[cstrName];
}