Q:

تغییر رنگ قالب

سلام پست زمینه سایت من سیاه است میخوان قالب من هم مشکی بشه البته مشکی اش روشن باشه یک جورایی به رنگ طوسی هر کس میتونه این کار را انجام بده . اسم سایت www.irantaraneh.rozblog.com

هر کس هم کد قالب را خواست وارد سایت من بشه و کلید ترکیبی ctrl+u را بزند .

آموزش طراحی و ویرایش قالب
پاسخ ها

ببین این بدردت میخوره طراح =(moisrex)

کد:
<script language="Javascript">

<!--

function backcolor(form){

temp = ""

for (var i = 0; i < 16; i++) {

temp = form.color.value

if (form.color.checked){ document.bgColor = temp }

}

}

function randombackground(){

document.bgColor = getColor()

}

function getColor(){

currentdate = new Date()

backgroundcolor = currentdate.getSeconds()

if (backgroundcolor > 44)

backgroundcolor = backgroundcolor - 45

else if (backgroundcolor > 29)

backgroundcolor = backgroundcolor - 30

else if (backgroundcolor > 15)

backgroundcolor = backgroundcolor - 16

if (backgroundcolor == 0 )

return "olive";

else if (backgroundcolor == 1 )

return "teal";

else if (backgroundcolor == 2 )

return "red";

else if (backgroundcolor == 3 )

return "blue";

else if (backgroundcolor == 4 )

return "maroon";

else if (backgroundcolor == 5 )

return "navy";

else if (backgroundcolor == 6 )

return "lime";

else if (backgroundcolor == 7 )

return "fuschia";

else if (backgroundcolor == 8 )

return "green";

else if (backgroundcolor == 9 )

return "purple";

else if (backgroundcolor == 10 )

return "gray";

else if (backgroundcolor == 11 )

return "yellow";

else if (backgroundcolor == 12 )

return "aqua";

else if (backgroundcolor == 13 )

return "black";

else if (backgroundcolor == 14 )

return "white";

else if (backgroundcolor == 15 )

return "silver";

}

// -->

</script>

<CENTER>

<FORM>

<input type="button" value="عوض کن این رنگ رو" onClick="randombackground()">

</form><br><a href="http://moisrex.r98.ir">moisrex.r98.ir</a>

اگه اون نشد اینو امنتحان کن البته تو هر دوتا کد خودت باید رنگ دلخواهت رو درون کد بزاری

کد:
<html>

<head>

<script language="javascript">

function f1(code)

{

document.bgColor=code

document.fo1.t1.value=code

}

function f2()

{

document.bgColor="FFFFFF"

document.fo1.t1.value="FFFFFF"

}

</script>

</head>

<body>

<table align=center>

<tr>

<td name="t1" height=10 width=10 bgColor="000000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="050000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="100000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="150000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="200000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="250000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="300000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="350000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="400000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="450000" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="500000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="550000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="600000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="650000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="700000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="750000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="800000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="850000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="900000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="950000" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="A00000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="A50000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="AA0000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="B00000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="B50000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="BB0000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="C00000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="C50000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="CC0000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="D00000" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="D50000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="DD0000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="E00000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="E50000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="EE0000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="F00000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="F50000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="FF0000" onclick='f1(this.bgColor)'>

</tr>

</table><br>

<table align=center>

<tr>

<td name="t1" height=10 width=10 bgColor="000000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="001000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="001500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="002000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="002500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="003000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="003500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="004000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="004500" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="005000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="005500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="006000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="006500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="007000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="007500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="008000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="008500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="009000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="009500" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="00A000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00A500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00AA00" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00B000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00B500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00BB00" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00C000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00C500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00CC00" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00D000" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="00D500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00DD00" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00E000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00E500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00EE00" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00F000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00F500" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="00FF00" onclick='f1(this.bgColor)'>

</tr>

</table><br>

<table align=center>

<tr>

<td name="t1" height=10 width=10 bgColor="000000" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000005" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000010" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000015" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000020" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000025" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000030" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000035" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000040" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000045" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="000050" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000055" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000060" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000065" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000070" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000075" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000080" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000085" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000090" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="000095" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="0000A0" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000A5" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000AA" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000B0" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000B5" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000BB" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000C0" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000C5" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000CC" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000D0" onclick='f1(this.bgColor)'>

</tr>

<tr>

<td name="t1" height=10 width=10 bgColor="0000D5" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000DD" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000E0" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000E5" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000EE" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000F0" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000F5" onclick='f1(this.bgColor)'>

<td name="t1" height=10 width=10 bgColor="0000FF" onclick='f1(this.bgColor)'>

</tr>

</table>

<p align=center>

<form name="fo1">

<input type=text name=t1>

<input type=button name=b1 value="Change to white" onclick='f2()'>

</form>

</body>

</html>

<a href="http://moisrex.r98.ir">moisrex.r98.ir</a>

این کد ها را در کجا قرار بدم

هد(head) اگه نشد یا نتونستی به moisrex پیام بده تو همین انجمنه تو طراح این کد ها اونه

کارت شد ! یا هنوز نه ؟؟؟!

تازه سازي پاسخ ها
پست های مرتبط

کسی میدونه چجوری بجای متن ادامه مطلب تصویر بگذاریم ؟؟؟؟؟؟؟؟

  • mmehrabi
  • پنجشنبه 03 مرداد 1398 - 2:42

فایل SVG چیست؟

  • guilty
  • سه شنبه 01 مرداد 1398 - 3:07

آموزش سئو کردن قالب وبلاگ

  • irmec
  • پنجشنبه 27 تیر 1398 - 10:41

حل مشكل من = تبليغات 30 تشكر

  • ariamone
  • پنجشنبه 10 خرداد 1397 - 12:47

ابزار آنلاین تست و مشکل یابی کدهای سی اس اس

  • irthem
  • پنجشنبه 10 خرداد 1397 - 12:46

تغییربک گراند

  • maloomi
  • چهارشنبه 29 فروردین 1397 - 10:26

تغییرات در قالب مورد نظرم (تشکر+بنر و پاپ آپ به مدت 3 ماه یا بیشتر)

  • raise
  • چهارشنبه 23 اسفند 1396 - 16:05

کد های بهینه سازی قالب

  • mr-graphic
  • چهارشنبه 23 اسفند 1396 - 16:01

کمک کنید در مورد قالبم+تشکر

  • paye-6
  • چهارشنبه 23 اسفند 1396 - 16:00

درست کردن قالب

  • buyoriginal
  • چهارشنبه 23 اسفند 1396 - 15:59

کسی بلده اموزش ویرایش css قالب سایت رابگه

  • eshghdoone
  • چهارشنبه 23 اسفند 1396 - 15:58

کد تغیر رنگ منو قالب

  • kandoo
  • چهارشنبه 23 اسفند 1396 - 15:57

آموزش ویدیویی ترجمه قالب به سیستم سایت ساز رزبلاگ - بخش دوم

  • wizardzx
  • چهارشنبه 23 اسفند 1396 - 15:57

آموزش ترجمه قالب به رزبلاگ ( بخش اول ) -

  • wizardzx
  • چهارشنبه 23 اسفند 1396 - 15:56

درخواست قرار دادن امکان حالت من در قالب

  • basiji
  • چهارشنبه 23 اسفند 1396 - 15:56

کسی میدونه فیکس کردن قالب برای تمام رزولیشن ها چجوریه؟

  • blackwizard
  • چهارشنبه 23 اسفند 1396 - 15:54

آموزش ساخت و طراحی قالب رزبلاگ (کمک کنید)

  • victor
  • چهارشنبه 23 اسفند 1396 - 15:53

آخرین مطالب و بهترین مطالب بصورت اسلید شو در رزبلاگ

  • ehsan-al
  • چهارشنبه 23 اسفند 1396 - 15:52

برای تغییر اسلایدر قالب به کمکتون نیاز دارم

  • shahbazi
  • چهارشنبه 23 اسفند 1396 - 15:52

درخواست ایجاد قالب مشابه

  • monarc0
  • چهارشنبه 23 اسفند 1396 - 15:44