codice:
function showfont(font) {
var text = getText();
if (font) {
if (helpstat) {
alert("Il Tag Font Specifica il tipo di carattere del testo.\n\nUSO: Il carattere di questo testo è "+font+"");
} else if (basic) {
AddTxt="[font="+font+"]" + text + "[/font="+font+"]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("Il testo sarà formattato in carattere "+font,text);
} else {
txt=prompt("Il testo sarà formattato in carattere "+font,"Text");
}
if (txt!=null) {
AddTxt="[font="+font+"]"+txt+"[/font="+font+"]";
AddText(AddTxt);
}
}
document.PostTopic.Font.selectedIndex = 0;
}
}