Benvenuto Posted September 14, 2003 Report Share Posted September 14, 2003 jautaajums vai ir kaada komdanda ar kuru es varu noskaidrot kaadu izshkjirtspeeju juuzeris lieto? tad es vareetu salikt tabulu platumu katrai no populaaraakajaam izshkjirtspeejaam. Link to comment Share on other sites More sharing options...
jannis Posted September 14, 2003 Report Share Posted September 14, 2003 ar php taa iisti nevar, jaanjem talkaa javascript, man pasham patiik ar css: <head> </head> <body> <script> if (screen.width>1024) {document.write("<LINK rel="stylesheet" href="Framework1.css" type="text/css">")} else {document.write("<LINK rel="stylesheet" href="Framework2.css" type="text/css">")} </script> ... </body> Link to comment Share on other sites More sharing options...
Benvenuto Posted September 14, 2003 Author Report Share Posted September 14, 2003 o shitas man vareetu dereet. thx. B) Link to comment Share on other sites More sharing options...
Venom Posted September 15, 2003 Report Share Posted September 15, 2003 Bet, tā, lai pielektu arī PHP: <script> var set=0; if (screen.width>1024 && !set){ location.href=location.href+'?screen=big'; location.reload(); set=1; } </script> čekojam, vai $_GET['screen'] ir bigs utt. Kaut kā tīri ar php varēja dabūt, ja ir pareizs browscap.ini, bet tāds man vēl nav gadījies. Link to comment Share on other sites More sharing options...
Recommended Posts