Redirect from mobile site (jQuery mobile) to main site styles linger
I am using jQue开发者_如何学Gory mobile and MVC 2.0 for my mobile site. I have a link on the mobile site to go to the main site. The problem is that when I land on the main site my styles still look like jQuery mobile styles. If I refresh the page then it correctly shows the main site's styles.
I am wondering how to force out the jQuery mobile styles and/or make sure that I get my main site styles when I land on the (login) page.
Details: Sites served under IIS 7.5. Main Site in Classic 2.0 (VB.NET) with "sub"-site in Integrated 2.0 (MVC, jQuery mobile beta 3). dev environ Windows 7 / VS 2010 / .NET 3.5. (to deploy on Server 2008)
Thanks for any insight.
-Brian
It's possible that your link is still being navigated by the jQuery Mobile AJAX navigation system; you can get around this by putting a rel="external"
attribute on the link:
<a href="www.fullsite.com" rel="external">Full Site</a>
精彩评论