- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
/* ... */
if (kindmusic64[7].checked == true)
{
var number = Math.floor(Math.random() * 41);
switch(number)
{
case 0: redradio[0].checked = true; greenradio[0].checked = true; blueradio[1].checked = true; break;
case 1: redradio[0].checked = true; greenradio[1].checked = true; blueradio[0].checked = true; break;
case 2: redradio[0].checked = true; greenradio[1].checked = true; blueradio[1].checked = true; break;
case 3: redradio[1].checked = true; greenradio[0].checked = true; blueradio[0].checked = true; break;
case 4: redradio[1].checked = true; greenradio[0].checked = true; blueradio[1].checked = true; break;
case 5: redradio[1].checked = true; greenradio[1].checked = true; blueradio[0].checked = true; break;
case 6: redradio[1].checked = true; greenradio[1].checked = true; blueradio[2].checked = true; break;
case 7: redradio[1].checked = true; greenradio[2].checked = true; blueradio[1].checked = true; break;
case 8: redradio[1].checked = true; greenradio[2].checked = true; blueradio[2].checked = true; break;
case 9: redradio[2].checked = true; greenradio[1].checked = true; blueradio[1].checked = true; break;
case 10: redradio[2].checked = true; greenradio[1].checked = true; blueradio[2].checked = true; break;
case 11: redradio[2].checked = true; greenradio[2].checked = true; blueradio[1].checked = true; break;
case 12: redradio[2].checked = true; greenradio[2].checked = true; blueradio[3].checked = true; break;
case 13: redradio[2].checked = true; greenradio[3].checked = true; blueradio[2].checked = true; break;
case 14: redradio[2].checked = true; greenradio[3].checked = true; blueradio[3].checked = true; break;
case 15: redradio[3].checked = true; greenradio[2].checked = true; blueradio[2].checked = true; break;
case 16: redradio[3].checked = true; greenradio[2].checked = true; blueradio[3].checked = true; break;
case 17: redradio[3].checked = true; greenradio[3].checked = true; blueradio[2].checked = true; break;
case 18: redradio[0].checked = true; greenradio[0].checked = true; blueradio[2].checked = true; break;
case 19: redradio[0].checked = true; greenradio[2].checked = true; blueradio[0].checked = true; break;
case 20: redradio[0].checked = true; greenradio[2].checked = true; blueradio[1].checked = true; break;
case 21: redradio[1].checked = true; greenradio[0].checked = true; blueradio[2].checked = true; break;
case 22: redradio[1].checked = true; greenradio[1].checked = true; blueradio[3].checked = true; break;
case 23: redradio[1].checked = true; greenradio[3].checked = true; blueradio[1].checked = true; break;
case 24: redradio[1].checked = true; greenradio[3].checked = true; blueradio[2].checked = true; break;
case 25: redradio[2].checked = true; greenradio[0].checked = true; blueradio[0].checked = true; break;
case 26: redradio[2].checked = true; greenradio[1].checked = true; blueradio[0].checked = true; break;
case 27: redradio[2].checked = true; greenradio[1].checked = true; blueradio[3].checked = true; break;
case 28: redradio[3].checked = true; greenradio[1].checked = true; blueradio[1].checked = true; break;
case 29: redradio[3].checked = true; greenradio[2].checked = true; blueradio[1].checked = true; break;
case 30: redradio[0].checked = true; greenradio[0].checked = true; blueradio[0].checked = true; break;
case 31: redradio[1].checked = true; greenradio[1].checked = true; blueradio[1].checked = true; break;
case 32: redradio[2].checked = true; greenradio[2].checked = true; blueradio[2].checked = true; break;
case 33: redradio[3].checked = true; greenradio[3].checked = true; blueradio[3].checked = true; break;
case 34: redradio[0].checked = true; greenradio[3].checked = true; blueradio[2].checked = true; break;
case 35: redradio[0].checked = true; greenradio[2].checked = true; blueradio[2].checked = true; break;
case 36: redradio[1].checked = true; greenradio[3].checked = true; blueradio[3].checked = true; break;
case 37: redradio[2].checked = true; greenradio[0].checked = true; blueradio[2].checked = true; break;
case 38: redradio[3].checked = true; greenradio[1].checked = true; blueradio[3].checked = true; break;
case 39: redradio[2].checked = true; greenradio[2].checked = true; blueradio[0].checked = true; break;
case 40: redradio[3].checked = true; greenradio[3].checked = true; blueradio[1].checked = true; break;
case 41: redradio[2].checked = true; greenradio[0].checked = true; blueradio[3].checked = true; break;
case 42: redradio[0].checked = true; greenradio[1].checked = true; blueradio[2].checked = true; break;
case 43: redradio[1].checked = true; greenradio[2].checked = true; blueradio[3].checked = true; break;
case 44: redradio[0].checked = true; greenradio[3].checked = true; blueradio[1].checked = true; break;
case 45: redradio[1].checked = true; greenradio[0].checked = true; blueradio[3].checked = true; break;
case 46: redradio[1].checked = true; greenradio[2].checked = true; blueradio[0].checked = true; break;
case 47: redradio[2].checked = true; greenradio[3].checked = true; blueradio[1].checked = true; break;
case 48: redradio[2].checked = true; greenradio[0].checked = true; blueradio[1].checked = true; break;
case 49: redradio[3].checked = true; greenradio[1].checked = true; blueradio[2].checked = true; break;
case 48: redradio[3].checked = true; greenradio[1].checked = true; blueradio[0].checked = true; break;
case 49: redradio[3].checked = true; greenradio[2].checked = true; blueradio[0].checked = true; break;
/* ... */
https://olgusha.ru/javascript/colors.htm, да ещё написано, что попробуйте протестировать способность вашего компьютера сочинять музыку и выбирать случайным образом цвета.
unicorn 18.05.2019 16:33 # 0
TEH3OPHblu_nemyx 18.05.2019 17:02 # +3
gost 18.05.2019 17:31 # +3
Какие вореции )))
Ничего не понял. Переведите на «PHP».
Именно поэтому я за «онанизм».
TEH3OPHblu_nemyx 18.05.2019 17:35 # +1
unicorn 18.05.2019 22:54 # 0
Steve_Brown 20.05.2019 12:59 # +1
bormand 13.05.2021 08:08 # +1
gologub 13.05.2021 10:37 # +1
TOPT 13.05.2021 10:40 # 0
Rooster 18.05.2019 18:05 # +2
MAKAKA 13.05.2021 04:57 # 0
TOPT 13.05.2021 05:01 # 0
JloJle4Ka 13.05.2021 13:07 # 0
guest8 18.05.2019 19:13 # −999
TEH3OPHblu_nemyx 19.05.2019 01:47 # +1
guest8 24.05.2019 23:11 # −999
cmepmop 24.05.2019 23:18 # +1
Вы часом не Владимир Фомин?
BECEHHEE_O6OCTPEHuE 25.05.2019 19:19 # +1
guest8 25.05.2019 19:32 # −999
guest8 25.05.2019 19:32 # −999
PA3yMHblu_nemyx 25.05.2019 19:37 # +1
https://cdn.fishki.net/upload/post/201312/31/1236021/39.jpg