Categories
javascript mobile

Use A JavaScript Confirm Dialog To Give Users Option Between Mobile or Desktop View

The idea was to use the native look of the confirm box to give the user an option between viewing the site in a mobile view or stay on current view. I used a setTimeout method so i can have it fire 3 seconds after the pages has rendered in all its glory. The code […]