Results 1 to 5 of 5
July 28th, 2012, 08:14 PM #142Registered User
MEDIA QUERIES to Load specific HTML file
July 28th, 2012, 10:20 PM #2
July 28th, 2012, 10:37 PM #342Registered User
I want to an entire document. For example, if the a user is viewing the site on a desktop or on a device with a width beyond 550, I want the desktop.html to load. If the user is viewing the site on a smartphone like the ipHone, I want iphone.html to load. I know this code needs to be the first script that runs, so the user can be directed to the appropriate page depending on what they are viewing the site on. Thanks!
July 29th, 2012, 07:05 AM #4130k-addict
July 29th, 2012, 10:01 PM #5
+1 to what gamera said!
You can look at some alternative techniques to matchMedia I provide here: http://www.kirupa.com/html5/viewport...ument_size.htm