archux Posted October 18, 2007 Report Share Posted October 18, 2007 Hello moto! :) Nu tā, lieta man tāda! Piemēram, kā var uztaisīt tā ka fails ir ieincludots, bet man taja failā vajag pārslēgt lapas un tikmēr kamēr šis domā parādās lūdzu gaidiet! Ceru uz atsaucību! Paldies! Link to comment Share on other sites More sharing options...
Kavacky Posted October 18, 2007 Report Share Posted October 18, 2007 Kas par dabas brīnumiem ir tajā failā, ka tas pārslēdz lapas ( wtf? ) tik ilgi, ka kaut kas bremzē un ir jāgaida? Link to comment Share on other sites More sharing options...
superKrona Posted October 19, 2007 Report Share Posted October 19, 2007 Ja domāts - kamēr ielādējas lapa, rādās uzraksts "lūdzu gaidiet", tad tas jau tikko kā bija tepat forumā. Link to comment Share on other sites More sharing options...
Vebers Posted October 19, 2007 Report Share Posted October 19, 2007 Paguglē - Ajax loading indicator howto Link to comment Share on other sites More sharing options...
ray Posted October 19, 2007 Report Share Posted October 19, 2007 (edited) Savos vecajos skriptos atradu šādu koda gabalu. To prototype failu tev tante google iedos. <script language="JavaScript" type="text/javascript" src="prototype.js"></script> <script type="text/javascript"> Event.observe(window, "load", function(){ new Ajax.Updater("kamer_ladejas", "tava_lapa.php",{method:'get'}); }); </script> <div id="kamer_ladejas">Dati tiek ielādēti...</div> Edited October 22, 2007 by ray Link to comment Share on other sites More sharing options...
archux Posted October 24, 2007 Author Report Share Posted October 24, 2007 O beidzot! Viss kārtībā tik nekā nevaru iebraukt kās jādara, lai šis auto refresh taisītu pēc 30 sekundēm! Vai kāds var pamest kādu domu graudu? Link to comment Share on other sites More sharing options...
ray Posted October 24, 2007 Report Share Posted October 24, 2007 O beidzot! Viss kārtībā tik nekā nevaru iebraukt kās jādara, lai šis auto refresh taisītu pēc 30 sekundēm! Vai kāds var pamest kādu domu graudu? tev vajag, lai tas "loading" rādās 30sec? Link to comment Share on other sites More sharing options...
andrisp Posted October 24, 2007 Report Share Posted October 24, 2007 archux, javascript settimeout (vai setinterval) Link to comment Share on other sites More sharing options...
Kavacky Posted October 24, 2007 Report Share Posted October 24, 2007 Ajax.Updater vietā izmanto tajā pašā Prototype pieejamo Ajax.PeriodicalUpdater. Link to comment Share on other sites More sharing options...
archux Posted October 28, 2007 Author Report Share Posted October 28, 2007 Jā ray! Link to comment Share on other sites More sharing options...
Recommended Posts