Skip to content

24 ways to impress your friends

Vote down?

Shaun Hare

Sarah, you make some very good points. I think we should especially consider the bandwidth loading lots of extra content takes. Data plans are still incredibly expensive and 3g is not ubiquitous folks ( try living in a rural area)

One other way of achieving a redirect – conforming to what is a better user experience as Simon suggests (and I wholeheartedly agree) is to use a .htaccess file

if just iPhone you could do

RewriteEngine On

RewriteCond %{HTTP_USER_AGENT} ^.iPhone.$
RewriteRule (.*) http://m.shaunhare.com/$1

Another point I was told javascript (learnt from one of Andy Clarke’s workshops hat tip Dan Rubin) would also be used to lose the address bar often desired on web apps

<script type=“text/javascript” charset=“utf-8”>
		window.onload = function() {
		  setTimeout(function(){window.scrollTo(0, 1);}, 100);
		}
</script>

Does the head tag now do that without the js? – must try that.

Thanks for sharing your practical experience.