4 thoughts on “Creating a "show desktop website" button for your mobile site

  1. I would like to use this exactly as you have it with one modification: When a mobile device is first detected, I would like to ask them if they want the mobile version or the site or the desktop version.

    This would seem easy but I cant seem to get my head around it.

    Greg

  2. hi, for some reason i get a loop when trying to switch from mobile to desktop. I’m using the same code. any idea why this would happen?

Leave a Reply

Your email address will not be published. Required fields are marked *