Ugga Posted April 21, 2004 Report Share Posted April 21, 2004 javascripts peec php dotajiem ielaades laikiem skaita cik ilgs laiks lapaa pavadiits. HOW? :blink: i am a little beginner in javascript! :unsure: Link to comment Share on other sites More sharing options...
justus Posted April 22, 2004 Report Share Posted April 22, 2004 (edited) jāizmanto kautkāda refresosana (kur jāizmanto javascript) piemēram ik pēc 20 sec, ja useris vēl jo projām lapā tad + 20 sec pie apmeklējuma laika, kuru saglabā datubāzē un ik pēc 20 sec papildina, ja uzeris ja uzeris aizies tad referesosana nenotiks un skaitisana apstāsies, vari vēl pielikt ip klāt, vai laiku saglabāt cepumā, lai nākošo reizi skaitītu klāt Edited April 22, 2004 by justus Link to comment Share on other sites More sharing options...
Ugga Posted April 26, 2004 Author Report Share Posted April 26, 2004 tu mani galiigi nesaprati javascript var uzlikt kjjipe document.write delay 1sec pavadiitais laiks(ti apmekleejuma) +1, bet taa kaa es javascript nekodeeju es to nemaaku izdariit! Link to comment Share on other sites More sharing options...
bubu Posted April 26, 2004 Report Share Posted April 26, 2004 kas tavaa izpratnee ir pavadiitais laiks lapaa? no kura liidz kuram briidim tas tiek meeriits? Link to comment Share on other sites More sharing options...
Venom Posted April 28, 2004 Report Share Posted April 28, 2004 ņem talkā: setTiemeout spendtime=0 function addSec() { spendtime++; setTimeout('addSec()',1000); } setTimeout('addSec()',1000); Link to comment Share on other sites More sharing options...
Recommended Posts