HTML5   发布时间:2022-04-27  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了iPhone JQuery:如何使用iPhone中的Jquery Mobile手机差距在iPad中实现拆分视图大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我曾尝试使用 JQuery手机差距实现拆分视图

index.html中的示例代码

 
 

<head> 
        <link rel="stylesheet" href="inc/jquery.mobile.structure-1.0.1.min.css" />
        <link rel="stylesheet" href="inc/jquery.mobile-1.0.1.min.css" />
        <link rel="stylesheet" href="inc/resources/css/jquery.toastmessage.css" />

        <script type="text/javascript" src="inc/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="inc/jquery.mobile-1.0.1.min.js"></script>

        <script type="text/javascript" src="inc/phonegap-1.2.0.js"></script>
    </head> 

    <body> 

        <div data-role="page" data-theme="c">
            <div data-role="header">
                Mpbile Split View
            </div>   

            <div data-role="content">

                 <!--- Left side view------>
                <div class="left-content">
                    <h3>lef hand content</h3>
                    <ul data-role="listview">
                        <li>One</li>
                        <li>One</li>
                        <li>One</li>
                        <li>One</li>
                    </ul>
                </div>

                <!--- Right side view------>
                <div class="right-content">
                    <h3>Right hand content</h3>
                    <ul data-role="listview">
                        <li>Two</li>
                        <li>Two</li>
                        <li>Two</li>
                        <li>Two</li>
                    </ul>
                </div>
            </div>
        </div>


    </body> 
</html>

但它如上图所示,从上到下依次显示同一页面上的两个视图

我需要两个表作为拆分视图一个在左侧(根视图)和另一个在右侧(详细信息视图)

怎么可能使用jQuery?提前致谢

解决方法

您可以使用 http://jeromeetienne.github.com/jquery-mobile-960/并将其与该网格分开.

如果你知道960.gs或任何其他css网格框架,它将非常容易.在提到的网站上有使用演示.

大佬总结

以上是大佬教程为你收集整理的iPhone JQuery:如何使用iPhone中的Jquery Mobile手机差距在iPad中实现拆分视图全部内容,希望文章能够帮你解决iPhone JQuery:如何使用iPhone中的Jquery Mobile手机差距在iPad中实现拆分视图所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。