Easiest way would be to add a URL parameter to the link:

<a href="/index.html?iphone=normal">normal view</a>

Then have the Javascript check for that URL parameter, something like:
http://www.netlobo.com/url_query_string_javascript.html

Alternatively, you could set a cookie with the preferred view.

http://techpatterns.com/downloads/javascript_cookies.php

kb


On Nov 21, 10:06 am, birdofprey <[EMAIL PROTECTED]> wrote:
> Currently, the full version of my site detects an iPhone/iPod Touch
> device, and performs a redirect to the iPhone version of the site.  It
> does this by using Javascript.  Is there a way to link from the iPhone
> version of the page, back to the full page (and somehow disable the
> Javascript through the link so that it doesn't redirect straight back?)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to