![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 102 Pomógł: 0 Dołączył: 5.11.2006 Ostrzeżenie: (10%) ![]() ![]() |
Uzywam tego kodu aby określić rozdzielczość i w zalezności od niej dołaczyc odpowiedni styl:
Wydaje mi sie prawidlowy, ale niestety nie dziala!! Daje go w <head> i niestety....(IMG:http://forum.php.pl/style_emoticons/default/sad.gif) (IMG:http://forum.php.pl/style_emoticons/default/worriedsmiley.gif) Jakies rady:( (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) Ten post edytował microh 19.02.2007, 15:27:35 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 102 Pomógł: 0 Dołączył: 5.11.2006 Ostrzeżenie: (10%) ![]() ![]() |
hmm no to dałem:
<script type="text/Javascript"> function styl() { if (screen.width < 1024) { document.write('<link rel=stylesheet type="text/css" href="lowFonts.css">'); } if (screen.width >= 1024 && screen.width < 1280) { document.write('<link rel=stylesheet type="text/css" href="mediumFonts.css">'); } if (screen.width >= 1280) { document.write('<link rel=stylesheet type="text/css" href="highFonts.css">'); } } </script> a potem: <body onLoad="styl()"> Efekty? Marne... (IMG:http://forum.php.pl/style_emoticons/default/tiredsmiley.gif) Może ktos ma inny pomysł? (IMG:http://forum.php.pl/style_emoticons/default/withstupidsmiley.gif) Ten post edytował microh 19.02.2007, 20:03:27 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 8.10.2025 - 17:17 |