Xwab
Форумыnavigate_nextJavaScript

Скрипт случайной ссылки на сайт
Сообщения
Sermyagin n

<div class="ads">Реклама:</div>

<script language="javascript">
var howMany = 2
var quote = new Array(howMany+1)
quote[0]="<a href=\"http:\//xwab.mobi\"><font color='red'><b>Forum of cool developers</b></font></a>"
quote[1]="<a href=\"http:\//xwab.mobi\"><font color='green'><b>Developer Forum</b></font></a>"
quote[2]="<a href=\"http:\//xwab.mobi\"><font color='gold'><b>Forum Mobile Developer</b></font></a>"
function rndnumber(){
var randscript = -1
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1))
}
return randscript
}
quo = rndnumber()
quox = quote[quo]
document.write(quox)
//-->
</SCRIPT>

02 Май 2023, 20:59
Ответить на тему