【问题标题】:jquery mobile site on iphoneiphone上的jquery移动网站
【发布时间】:2011-11-13 21:17:00
【问题描述】:

当我在 iPhone 上加载我的网站时,它不会显示该网站。它只显示这个“>”。
它在电脑和我的 iPad 上运行良好。有什么想法吗?

移动应用程序位于http://yourguest.co.uk/iphone/app/first.html

【问题讨论】:

    标签: jquery iphone ios jquery-mobile


    【解决方案1】:
    <div data-role="page" id="page8">
    <div data-role="header">
        <h1>Sunday  </h1>
    </div>
    <div data-role="content">   
        <a href="http://maps.google.com/maps?q=London">Directions to here</a>   
    </div>
        <div data-role="footer">
    
            <h4>Page Footer</h4>
        </div>
    </div>
    
    
    
    
    
    
    
    > // This is out of place. Maybe the IPhone cannot handle jQuery mobile's pages
      // with this content outside the pages.
    
    </body>
    

    【讨论】:

    • 我还在源代码的第 191-202 行之间看到了一些奇怪的地方,其中有一个
      后跟一堆空行,然后是结束 >.
  • 这很奇怪,但应该不是问题。 &lt;/div&gt;&lt; /div&gt;&lt;/div &gt;都应该是有效的标签,因为空白不应该是相关的。
  • 猜你喜欢
    • 1970-01-01
    • 2011-05-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多