jQuery   发布时间:2022-03-30  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了Jquery-Mobile:如何将示例应用程序部署到设备中大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我是 jquery移动框架的新手.我使用jquery mobile实现了示例应用程序.现在我想将此应用程序部署到设备中.我不知道如何部署这个?请任何人帮助我.

Sample Application
<!DOCTYPE html>
<html> 
<head> 
    <title>My Page< /title> 
    <Meta name="viewport" content="width=device-width,initial-scale=1"> 
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head> 
<body> 
    <div data-role="page">
        <div data-role="header" data-theme="b">
            <h1>My title</h1>
        </div><!-- /header -->
        <div data-role="content">   
            <p>Hello world</p>      
        </div><!-- /content -->    
        <div data-role="footer">
            <h1>End of the page</h1>
        </div>
    </div><!-- /page -->
</body>
</html>

谢谢

解决方法

jQuery mobile仅为您提供移动UI工具(主要是面向触摸).例如,它与普通Web应用程序后端一起用于基于用户代理进行移动视图(演示).此类应用程序部署在Web服务器上.如果您想使设备可部署的应用程序 – 使用 PhoneGap或类似的东西.

大佬总结

以上是大佬教程为你收集整理的Jquery-Mobile:如何将示例应用程序部署到设备中全部内容,希望文章能够帮你解决Jquery-Mobile:如何将示例应用程序部署到设备中所遇到的程序开发问题。

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

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