Get the visitors screen resolution

Do you have wallpapers in your download section? Do it easy for your users and let’s them known their screen resolution and which option should they get. You can do it adding a simply javascript code in your page.

The tip: Find out and display a user’s screen resolution with javascript.

The result: Your current screen resolution is

Simple include the following code in your page:

<script type="text/javascript">

Javier Acebal

About the author: Javier Acebal

I'm a photographer based in Dakar (West Africa). I love to document cultures and people! (but also working for tourism industry).

Post comment