码迷,mamicode.com
首页 > 其他好文 > 详细

【Intel AF 2.1 学习笔记】第一篇:程序结构

时间:2015-02-05 01:57:26      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:

 

<!doctype html>
<html>
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <link rel="stylesheet" type="text/css" href="js/af2.1/css/af.ui.min.css" />
    <link rel="stylesheet" type="text/css" href="js/af2.1/css/icons.min.css" />
    <script src="js/af2.1/appframework.js"></script>
    <script src="js/af2.1/ui/appframework.ui.js"></script>
    <script src="js/af2.1/af.plugins.min.js"></script>
</head>
<body>
    <div id="afui" class="android">
        <header id="headerMain" >
            <a class="button backButton "></a>
            <h1>First App build on AF</h1>
        </header>
        
        <div id="content">
            <!--// inside content,all pages goes here -->
            <div id="pageMain" class="panel upage" data-nav="leftMenu" data-aside="rightMenu"  data-title="App Af" data-footer="footerMain">
                
            </div>
            <div id="pageSettings" class="panel upage" data-nav="leftMenu" data-aside="rightMenu" data-title="settings" data-footer="footerMain">
                <p>settings</p>
            </div>
        </div>
        <footer id="footerMain">
            <a class="icon home" href="#pageMain"></a>
            <a class="icon settings" href="#pageSettings"></a>
        </footer>        
        <nav id="leftMenu">
            <h1>Left Menu</h1>
        </nav>
        <aside id="rightMenu">
            <h1>Right Menu</h1>
        </aside>
    </div>
    <script>
        $.ui.ready(function(){
            $.ui.splitView=false;// this only affect before ui.lanuch called
            $.ui.disableSplitView();
        });
    </script>
</body>
</html>

 

【Intel AF 2.1 学习笔记】第一篇:程序结构

标签:

原文地址:http://www.cnblogs.com/dajianshi/p/4273712.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!