http://www.tutorial.hu/stiluslap-valtas-kepernyofelbontas-alapjan-javascripttel/ stb… if (screen.width > 1152) { document.write(''); } if (screen.width <= 1152) { document.write(''); } ---------- http://forum.pcworld.hu/index.php?showtopic=317 KÓD if (window.screen) { var w=screen.width if (w <= 640) { self.location.replace('600x480.html') } else if (w <= 800) { self.location.replace('800x600.html') } else if (w <= 1024) { self.location.replace('1024x768.html') } else if (w <= 1280) { self.location.replace('1280.html') } } ---------

Your Screen:

---------- if (navigator.appName).indexOf("Microsoft")!=-1) {IE} else {nem IE} //Az ablak nem IE document.write("Ablak Width/Height: " + window.innerWidth + " / " + window.innerHeight + "
"); //Az ablak IE document.write("Ablak Width/Height: " +document.documentElement.clientWidth + " / " + document.documentElement.clientHeight + "
"); //A Body (próbánál legyen kisebb mint az ablak!) document.write("BODY elem(tart+padding+border) Width/Height: " + document.body.offsetWidth + " / " + document.body.offsetHeight + "
"); ---------- window.innerHeight: document.documentElement.clientHeight: screen.width: 480: 15, 100 600: 19, 125 720: 22, 150 768: 24, 160 800: 25, 167 864: 27, 180 900: 28, 187 960: 30, 200 1024: 32, 213 1050: 33, 219 1200: 37, 250 ----------- http://weblabor.hu/cikkek/betumeretvalaszto https://css-tricks.com/almanac/properties/f/font-size/ ----------- http://www.java2s.com/Tutorial/JavaScript/0440__Style/divstylefontSizelarger.htm