Loading different views when on a mobile browser

#6
[eluser]rogierb[/eluser]
Well almost.

Checks like the user agent should be done at the earliest, hence in the MY_Controller.
If its a mobile device one can set a flag and use that to load a smaller set of data for instance.

The helper can use this flag to determine which view.

Its not just the view, remote devices often require different css, images and datasets. All depending on screen size and screen resolution



Messages In This Thread
Loading different views when on a mobile browser - by El Forum - 10-29-2012, 08:12 AM
Loading different views when on a mobile browser - by El Forum - 10-30-2012, 08:58 AM
Loading different views when on a mobile browser - by El Forum - 10-31-2012, 02:56 AM
Loading different views when on a mobile browser - by El Forum - 11-01-2012, 08:18 AM
Loading different views when on a mobile browser - by El Forum - 11-05-2012, 03:59 AM
Loading different views when on a mobile browser - by El Forum - 11-05-2012, 04:03 AM
Loading different views when on a mobile browser - by El Forum - 11-11-2012, 11:49 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.