kgjglgl;h;jhg |
<script language="javascript">
var number = 4
var txt = new Array(number+1)
txt[0]="Текс?1"
txt[1]="Текс?2"
txt[2]="Текс?3"
txt[3]="Текс?4"
txt[4]="Текс?5"
function randomtxt(){
var randscript = -1
while (randscript < 0 || randscript > number || isNaN(randscript)){
randscript = parseInt(Math.random()*(number+1)) }
return randscript }
quo = randomtxt()
quox = txt[quo]
document.write(quox)
</script>
Комментировать | « Пред. запись — ?дневнику — След. запись » | Страницы: [1] [Новы?/a>] |