Mobile redirect to specific url

Ps: I’ve been using this:

<script type="text/javascript">//<![CDATA[
(function(){
	var ua = navigator.userAgent.toLowerCase();
	if(/iphone|ipod|android|blackberry|mini|windows ce|palm|symbian/i.test(ua) && /mobile/i.test(ua) && !(/ipad/.test(ua)))
		window.location.replace("http://www.blue-iceberg.com/mobile/");
})();
//]]></script>

What I was looking for was a dynamic redirect to redirect each page to a corresponding mobile version with a specific URL based on the originating page, not just a generic redirect. Walter mentioned something like this above.


freewaytalk mailing list
email@hidden
Update your subscriptions at: