Benvenuto Posted September 14, 2003 Report 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.
jannis Posted September 14, 2003 Report 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>
Benvenuto Posted September 14, 2003 Author Report Posted September 14, 2003 o shitas man vareetu dereet. thx. B)
Venom Posted September 15, 2003 Report 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.
Recommended Posts