Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,793 members, 7,817,290 topics. Date: Saturday, 04 May 2024 at 09:38 AM

How To Redirect A Website Based On Screen Resolution - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How To Redirect A Website Based On Screen Resolution (927 Views)

My New Year Resolution: 1 Million Naira A Month From Android App Dev In 2015 / Redirect User To Different Pages On First Time Login / Are URL Aliases Same As 301 Redirect? (2) (3) (4)

(1) (Reply)

How To Redirect A Website Based On Screen Resolution by PrinceOvie: 9:16am On May 10, 2013
<script lang = "My Mother's Tongue">
if (screen.width < 1024)
{
document.location ="http://yourwebsitename.com";
}
</script>
Re: How To Redirect A Website Based On Screen Resolution by sarutobi: 12:37pm On May 14, 2013
check out the wurfl project http://wurfl.sourceforge.net

the library auto detects everything about your visitors in realtime, and with that data u can redirect certain visitors that meet certain criteria.

criterias like:
sceen size
screen resolution
support javascript
support html5,
is windows or linux etc w ill be reported to you

(1) (Reply)

Apply For Djangogirls Event At Ota / How Do I Handle Uploaded Photos On A Webserver?? / Glo Modem For Sale

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.