Share
If you are maintaining separate web pages on your website for visitors viewing your website on their mobile phones or hand held devies then you can use the following JavaScript code to check the visitor’s user agent and direct them to the relevant web pages.
<script type=”text/javascript”>
var mobile = function(){ return { [...]
