| Autor |
Mesaj |
AMIR
Administrator

Data inscrierii: 05/Noi/2007 Mesaje: 49
|
|
Lotto Numbers 6/49 16 -Romanian Version- by X-Boy |
|
<START>
<!-- Pasul 1: Codul urmator in sectiunea <head>: -->
<style>
.a1{
position:relative;
font-family:Verdana;
font-size:20px;
color:#888888;
}
</style>
<script language="JavaScript">
/*****************************************
* Generator Numere Loto de @stro
*****************************************/
var totalnumbers=6 //Numerele totale care vor fi generate
var lowerbound=1 //Numarul cel mai mic
var upperbound=49 //Numarul cel mai mare
function lotto(){
B=' ';
LottoNumbers=new Array();
for (i = 1; i <= totalnumbers; i++)
{
RandomNumber = Math.round(lowerbound+Math.random()*(upperbound-lowerbound));
for (j = 1; j <= totalnumbers; j)
{
if (RandomNumber == LottoNumbers[j])
{
RandomNumber=Math.round(lowerbound+Math.random()*(upperbound-lowerbound));
j=0;
}
j++;
}
LottoNumbers[i]=RandomNumber;
}
LottoNumbers=LottoNumbers.toString();
X=LottoNumbers.split(',');
for (i=0; i < X.length; i++)
{
X[i]=X[i]+' ';
if (X[i].length==2)
X[i]='0'+X[i];
}
X=X.sort();
for (i=0; i </span>
</script>
<!-- Pasul 2: Urmatorul cod in sectiunea <body> -->
<table>
<tr>
<td>
<form>
<input>
</form>
<span>Rezultat</span>
</td>
</tr>
</table>
<END>
|
|
| 07/12/2007 16:55 |
|
 |
|
|
Nu puteti crea un subiect nou in acest forum Nu puteti raspunde in subiectele acestui forum Nu puteti modifica mesajele proprii din acest forum Nu puteti sterge mesajele proprii din acest forum Nu puteti vota in chestionarele din acest forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|
|