Форум Diz-Cs.Ru
Преимущества регистрации:
Возможность создания тем
Общение с пользователями
Найдете множество полезной информации
Найдете своих единомышленников
DIZ-CS.RU - Мы с Вами НАВСЕГДА!
  • Страница 1 из 1
  • 1
Модератор форума: -SAM-  
Диаграмма
Дата: Пн, 01.03.2010, 14:21:54 | Сообщение # 1
Аватарка Kyller
OFF
Пользователь
90 Сообщения:
0 Отзывы:
Code
<html>  
<head>  
<title>Диаграмма</title>  
<script language="JavaScript">  
i=0  
function d_rand() {  
for(j=0;j<10;j++) {  
for(i=0;i<10;i++) document.images[j+i*10].src = "white.jpg"  
y= Math.floor(Math.random()*10)  
for(i=9;i>9-y;i--) document.images[j+i*10].src = "blue.jpg"  
}  
}  
</script>  
<body>  
<center>  
<table border="0">  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width=20 height=10></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<td><img src="white.jpg" width="20" height="10"></td>  
<tr><td colspan="10"><img src="blue.jpg" width="250" height="2"></td></tr>  
</table>  
<form name="diagram">  
<input name="random" type="button" value="кликни" onClick="d_rand()">  
</form>  
</center>  
</body>  
</html>
Дата: Пн, 01.03.2010, 16:07:31 | Сообщение # 2
Аватарка Snop1k
►Snop1k
OFF
Пользователь
195 Сообщения:
1 Награды:
0 Отзывы:
Сайт пользователя:
Я ваще не понял где скрин и что делает этот скрипт???

На DIZ-CS
Уважаю
► EZID
► VICE-
► Ph0enixx
  • Страница 1 из 1
  • 1
Поиск: