Hi. I have created a website in Flash and embedded into html using SWFObject. I have also create a micro site for mobile phones. When the user loads up my page, it should detect whether than are on a normal browser, therefore displaying the flash website, or if they are trying to access it from a mobile device, therefore displaying the micro site. What would be the way in achieving this?
The best way is to ask - that way if their mobile device is one that supports regular web pages you are not forcing them onto the wrong version.
<p>Are you using a <a href="reg.html">Regular Browser</a> or a <a href="mobi.html">mobile device</a>?</p>