DjDemon Posted April 29, 2007 Report Share Posted April 29, 2007 Labdien. Vai kāds varētu uzrakstīt, kur meklēt algoritmu, vai funkciju, kas piemēram refrešojot lapu, 70% ka parādīs bildīti, bet 30% ka tā netiks parādīta? Domu cerams sapratāt.. Link to comment Share on other sites More sharing options...
bubu Posted April 29, 2007 Report Share Posted April 29, 2007 if (rand(0, 99) < 70) { // rādīt bildi } Link to comment Share on other sites More sharing options...
DjDemon Posted April 29, 2007 Author Report Share Posted April 29, 2007 Njā, pats jau iedomāties nevaru :) Pateicos. Link to comment Share on other sites More sharing options...
Recommended Posts