Mark,
to address all those who are getting worked up about it you might want to take a look at cnn.com and m.cnn.com. If you navigate to m.cnn.com on your iPhone it will give you a link at the bottom to goto the regular site. I am not sure how you are doing it but I think they are just simply using a bit of javascript.
So something along these lines might work:
if (!override)
{
if(navigator.userAgent.match(/iPhone/i) ){
...do iphone mobile version..
else{
..do regular site..
}
}
else
{
..do regular site..
}
On hitting the link you can just set "no_override" or whatever. Im sure you know what I mean.
|