Autor Zpráva
prasopal666
Profil *
UMÍ NĚCO ( PHP, JAVA ..) ZJISTIT JAK VELIKÝ ROZLIŠENÍ MONITORU MÁ UŽIVATEL NASTAVENÝ?
Leo
Profil
JavaScript, Leo
Meldo
Profil
<script language="JavaScript" type="text/javascript">
document.write(screen.width+"x"+screen.height);
</script>
vlczak
Profil *
<SCRIPT language=JavaScript>
browserName=navigator.appName;
browserVer=parseInt(navigator.appVersion);
if ((browserVer >= 4 & browserName == "Netscape") | (browserVer >= 4 & browserName == "Microsoft Internet Explorer"))
version="4";
else
version="3";
if (version=="4") {
width = screen.width;
height = screen.height;
document.write("Vaše &nbsp;&nbsp; rozlišení &nbsp;&nbsp; je <FONT class='cislo'><BR>");
document.write(width + " x " + height + "<BR>");
document.write("</FONT> pixelů<BR>");
}
</SCRIPT>
centi
Profil
vlczak
Preboha, to si vyhrabal kde?

prasopal666
Jediné, čo potrebuješ je screen.width a screen.height v Javascripte.
Meldo
Profil
http://www.jakpsatweb.cz/javascript/objekt-window.html#screen > Objekt window.screen
Leo
Profil
Otazka je, k cemu vam rozliseni bude, Leo
error414-
Profil *
Leo

Ja to pouzivam na statistiky (Y I nejsem si jist). Jsem na to uchylny, kdyz se neco da zmerit tak proc to nezmerit.
Janer
Profil *
toplist to jistí....www.starozitnostikh.wz.cz
Toto téma je uzamčeno. Odpověď nelze zaslat.

0