I have a website ! and then , I design 1 theme for mobile, but I still don't know how can my website auto change when user login with mobile (iOS or Android)
Someone can tell me how, because I need it !
Thanks a lot
Vicky
How can I let my website auto change when user login as mobi
Re: How can I let my website auto change when user login as mobi
You'll have 2 sites one normal / another mobile.
You can use javascript to get the browser's user agent in order to detect if the user is using a mobile device and redirect to user to the version you want.
see for example
http://davidwalsh.name/detect-iphone
http://azharkamar.com/5610/mobile-redirect-javascript/
You can use javascript to get the browser's user agent in order to detect if the user is using a mobile device and redirect to user to the version you want.
see for example
http://davidwalsh.name/detect-iphone
http://azharkamar.com/5610/mobile-redirect-javascript/