【问题标题】:JQTouch - load from external links with transition, html dataJQTouch - 从带有过渡、html 数据的外部链接加载
【发布时间】:2012-03-02 14:13:38
【问题描述】:

如何使用它? 我用

[div class='内容'] [a href="test.html"]第二页[/a] [/div] 但是当我点击时,加载一个空页面 你能给我举个例子吗?请

【问题讨论】:

    标签: mobile jquery-mobile jqtouch


    【解决方案1】:

    Test.html 必须只包含 div。

      <div id="jqt">
            <div id="home" class="edgetoedge">
                <div class="toolbar">
                    <h1>Books</h1>          
                </div>
                <ul class="edgetoedge">             
                    <li><a href="jsp/bookedit.jsp">Book Add</a>
                    </li>
                </ul>
            </div>
    
        </div>
    

    下面的bookedit.jsp

    <div id="forms">
        <div class="toolbar">
            <h1>Forms</h1>
            <a href="#" class="back">Back</a>
        </div>
        <form class="scroll">
            <ul class="edit rounded">
                <li>Author : <input type="text" name="author" value="">
                </li>
                <li>Title :<input type="text" name="title" value="">
                </li>
                <li>Available :<input type="checkbox" name="available" value="true">
                </li>
    
            </ul>
        </form>
    </div>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-07-12
      • 2012-09-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-19
      相关资源
      最近更新 更多