javascript - Measure visible screen resolution -
consider scenario - i'm developing web applications utilize on tv, in total screen. may or may not know, each tv has different 'safe area', because cutting off amount on 1 or both sides. i'd utilize web page displays sort of visual ruler see tv's 'visible' screen, find 'safe area'. web page exist somewhere yet?
if not, easy way (i'm guessing javascript) draw on screen ruler used find 'safe area'?
tv safe areas approx 5% margin border of screen on new monitors.
when projects kind of resolution involved add together generic 5% margin on main container.
not monitors have same safe area... 5% plenty moderns one.
edit:
look @ well: http://dev.opera.com/articles/view/creating-web-content-for-tv/#safe-areas
it wrote previously.
javascript html css screen-resolution
No comments:
Post a Comment