Artic^MX Posted November 20, 2005 Report Share Posted November 20, 2005 Kā Saitā kas domāts mobilajiem ielikt scriptu, lai tas ik pēc x sekundēm refrešotos? Link to comment Share on other sites More sharing options...
Vebers Posted November 20, 2005 Report Share Posted November 20, 2005 <card id="lsgflks" title="Refresh" ontimer="<?=$_SERVER['PHP_SELF'];?>" newcontext="true"> <timer value="193"/> Link to comment Share on other sites More sharing options...
Artic^MX Posted November 20, 2005 Author Report Share Posted November 20, 2005 probleema! scriptu neatpaziist , jo tas saits ir taads kas iet gan uz nokia gan uz pc (ff, ie). un tai lapai nav wml struktuura, bet gan pliks texts. Link to comment Share on other sites More sharing options...
Vebers Posted November 20, 2005 Report Share Posted November 20, 2005 tad mokies ar header("Location: $_SERVER['PHP_SELF']"); savaadaak nekaa neiztikt... Link to comment Share on other sites More sharing options...
bubu Posted November 20, 2005 Report Share Posted November 20, 2005 un tai lapai nav wml struktuura, bet gan pliks texts. wtf? Man vakar tu liki noprast, ka tā ir ar HTML taisīt lapa. A tagad saki pliks teksts? Tad jau vispār tas nav iespējams, ko gribi panākt.. Link to comment Share on other sites More sharing options...
Klez Posted November 20, 2005 Report Share Posted November 20, 2005 pliks teksts diez vai uz mobiilajiem straadaa nestraadaa, ja vien hederi padod ka taa lapa domaata mobiilim .... Link to comment Share on other sites More sharing options...
Artic^MX Posted November 20, 2005 Author Report Share Posted November 20, 2005 (edited) wtf? Man vakar tu liki noprast, ka tā ir ar HTML taisīt lapa. A tagad saki pliks teksts? Tad jau vispār tas nav iespējams, ko gribi panākt.. tad tu esi nepareizi sapratis! nedriikst izmantot html elementus. tos mobils neatpaziist. vakar tev prasiju vai ir taads php scripts. pashaa php lapaa atrodas php scripti un peec uzghenereeshanas kad lasa sourci ir tikai texts<br>texts utt To KLez: mans mobils atpaziist pliku textu bez visaadiem hederiem! Citi kaut kaadi motorli un samsungi nemaak no lapas neko nolasiit Edited November 20, 2005 by Artic^MX Link to comment Share on other sites More sharing options...
Klez Posted November 20, 2005 Report Share Posted November 20, 2005 (edited) tur jau ir taa lieta. tavs atpaziist. nu ja tu viens lieto tad jau pie kaajas, bet ja plashaakai publikai, tad buus vien jaakodee peec standartiem :) nevis Na haljavu Edited November 20, 2005 by Klez Link to comment Share on other sites More sharing options...
bubu Posted November 20, 2005 Report Share Posted November 20, 2005 Nu nevarēs neko visvis-universālu uztaisīt. Būs jāpieņem tie ierobežojumu - WML vai HTML. Ja jau gribi lai iet gan uz PC, gan mobiem, tad taču skripta sākumā nodetektē, vai klients supportē wml, ja jā tad drukā to wml ar to ontimer, ja nē, tad drukā parastu html ar refresh headeri. Link to comment Share on other sites More sharing options...
Klez Posted November 20, 2005 Report Share Posted November 20, 2005 (edited) nu ja. bet vaig arii hederi padot, vai nu wml vai html jo kaa tad lai browseris saprot kas vinjam tiek dots? lab, lietojam operu un straadaas visos gadiijumos :) vienk jaataisa divas lapas, vienu prieksh WAP, otru prieksh HTML, tachu abas izmanto vienu datu avotu, DB vai teksta faili vai sazin kas :) Edited November 20, 2005 by Klez Link to comment Share on other sites More sharing options...
bubu Posted November 20, 2005 Report Share Posted November 20, 2005 nu ja. bet vaig arii hederi padot, vai nu wml vai html jo kaa tad lai browseris saprot kas vinjam tiek dots?lab, lietojam operu un straadaas visos gadiijumos :) Nu a kur problēmas? Es jau to pašu vien saku. Link to comment Share on other sites More sharing options...
Klez Posted November 20, 2005 Report Share Posted November 20, 2005 nu jaa, mees laikam reizee rakstiijaam :) bubu, Šodien, 14:31 Klez, Šodien, 14:34 Link to comment Share on other sites More sharing options...
bubu Posted November 20, 2005 Report Share Posted November 20, 2005 ah :) pareiz, pareiz.. Link to comment Share on other sites More sharing options...
php_Stopp Posted November 20, 2005 Report Share Posted November 20, 2005 lapa iet gan uz mobilajiem (vecākiem gan neies), gan uz pc, ja tā ir būvēta ar xhtml.. pēdējā laikā arvien vairāk tieši wap lapas tiek būvētas ar xhtml.. tad vienk meta refresh tagu.. <meta http-equiv="refresh" content="10"/> Link to comment Share on other sites More sharing options...
bubu Posted November 20, 2005 Report Share Posted November 20, 2005 wap ar xhtml man liekas maz sakara, ne? Link to comment Share on other sites More sharing options...
Recommended Posts