网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

jquerymobile教程:[1]helloworld

时间:2026-02-17 22:44:15

1、选择一款合适的IDE,如:Dreamweaver CS6、Visual Studio、Myeclipse2014等

这里笔者使用Myeclipse2014举例

    <script type="text/javascript" src="./js/jquery-1.8.3.js"></script>

    <script type="text/javascript" src="./js/jquery.mobile-1.3.0.js"></script>

    <link rel="stylesheet" href="css/style.css" />

</head>

<body>

    <div data-role="page">

        <div data-role="header" >

   脾敏胳         <h1>Single-Page Application </h1>

        </div><!-- /header -->

        <div data-role="content" >

            <h1>Hello World</h1>

        </div><!-- /content -->

        <div data-role="footer" data-position="fixed" >

     爬激       <h4>Footer content</h4>

        </div><!-- /footer -->

    </div><!-- /page -->

<救购/body>

</html>

6、选中工程,右击-》run as-》Mobile Web Simulator Application-》选择android启动

jquerymobile教程:[1]helloworld

jquerymobile教程:[1]helloworld

7、查看模拟器效果,如图

jquerymobile教程:[1]helloworld

© 2026 一点知道
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com