Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,530 members, 7,819,909 topics. Date: Tuesday, 07 May 2024 at 06:21 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 (929 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)

Mark Zuckerberg's Facebook Account Hacked By Palestinian (picture) / 12 And 15 Year Old Boys Creates Fast Web Browser / Any Google Adsense Or Media. Net 4 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. 5
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.