View Single Post
DenAtTheDBM

 
Member Since: Nov 29, 2010
Location: Vancouver, BC, Canada
Posts: 24
DenAtTheDBM will become famous soon enough
Mac Specs: Black 13.3" MacBook 4,1 Intel Core2 Duo, 4Gigs Ram (2x2G), 2.4GHz, OS X 10.7.2

DenAtTheDBM is offline
Code:
<script type="text/javascript">// <![CDATA[
 var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
 if (mobile) { document.location = "http://www.youtube.com";}
// ]]></script>
The above code should redirect a mobile browser to youtube. So, just replace the youtube url with the url of your mobile site.
QUOTE Thanks