Forum üçün yeni şriftləri və rəngləri əlavə etmək
Əyər siz itəyirsinizsə sizin forumda əlavə rənglər olsun onda aşağıdakıları əməl edin Maniə
Maniəni göstər Maniəni bağla
Adminkadan ДИЗАЙН sonra isə ŞABLONDA Общий вид страниц форумаGİRƏRƏK BU KODU TAPIB ALTINDAN ARA BURAXIB
BU KODU QOYURUQ.!!!
RƏNG KODU
Code
<?if($PAGE_ID$=threadpage|=postedit)?>
<script type="text/javascript" language="javascript">
var colorID = document.addform.fcolor.options.length;
var colors = new Array();
colors[0] = new Array("Qərənfil","#ff00ff","color:#ff00ff");
colors[1] = new Array("Göy","#8BEEF7","color:#8BEEF7");
colors[2] = new Array("Palıdı","#672505","color:#672505");
colors[3] = new Array("Tünd gırmızı","#9C1F22","color:#9C1F22");
colors[4] = new Array("Yaşılı","#49E250","color:#49E250");
for(i=0;i<colors.length;i++) {
document.addform.fcolor.options[colorID] = new Option(colors[i][0],colors[i][1]);
document.addform.fcolor.options[colorID].setAttribute("style",colors[i][2]);
colorID++;
}
</script>
<?endif?>
Nümunə
Və həmçinin şifrələr
yuxarıdakı kimi edib $BODY$ dan sonra bunu qoyuruq
Şifrə kodu
Code
<script type="text/javascript">
fontID = document.addform.ffont.options.length;
var fonts = new Array();
fonts[0] = new Array("Arial Black");
fonts[1] = new Array("Mistral");
fonts[2] = new Array("Consolas");
fonts[3] = new Array("Monotype Corsiva");
fonts[4] = new Array("Symbol");
fonts[5] = new Array("Courier New");
fonts[6] = new Array("MS Serif");
fonts[7] = new Array("MS Sans Serif");
for(i=0;i<fonts.length;i++) {
document.addform.ffont.options[fontID] = new Option(fonts[i]);
fontID++;
}
</script>
NÜMUNƏ.!!!