示例#1
0
        <!-- Include css local files here with PHP to reduce latency -->
        <style>
            <?php 
render_css('css/vendors/normalize/normalize.css');
?>
            <?php 
render_css('css/vendors/bootstrap/bootstrap_320.min.css');
?>
            <?php 
render_css('css/vendors/bootstrap/bootstrap_theme_320.min.css');
?>
            <?php 
render_css('css/vendors/jscrollpane/jquery.jscrollpane.css');
?>
            <?php 
render_css('css/utility/utility.css');
?>
        </style>

        <!-- Use CDNs here for async calls -->
        <!-- <link rel="stylesheet" href="/css/vendors/normalize/normalize.css"> -->
        <!-- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> -->
        <!-- Optional theme -->
        <!-- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> -->
        <!-- <link rel="stylesheet" href="/css/vendors/jscrollpane/jquery.jscrollpane.css"> -->

        <!-- use require to import this css file -->
        <!-- <link rel="stylesheet" href="/css/site_themes/<?php 
echo $site_path;
?>
.css"> -->
示例#2
0
        <meta http-equiv="expires" content="0"/>
        <meta http-equiv="pragma" content="no-cache"/>
        <meta http-equiv="cache-control" content="no-store"/>

        <title>Audio Sandbox</title>

        <!-- Include css local files here with PHP to reduce latency -->
        <style>
            <?php 
render_css('../../../css/vendors/bootstrap/bootstrap_320.min.css');
?>
            <?php 
render_css('../../../css/vendors/bootstrap/bootstrap_theme_320.min.css');
?>
            <?php 
render_css('audio_sandbox.css');
?>
        </style>

        <script src="/js/vendors/modernizr/modernizr_custom_282.js"></script>
        <script src="/js/vendors/jquery/jquery-1.9.1.min.js"></script>
        <script src="/js/vendors/bootstrap/bootstrap_3_2_0.min.js"></script>
        <!-- Include the main app logic -->
        <script src="/utilities/browser_utilities.js"></script>
        <script src="/utilities/audio_utilities.js"></script>
        <script src="/lab/audio/audio_sandbox/main.js"></script>
    </head>
    <body>
        <div style="height: 80px; width: 900px;" class="mainContent">
            <div>This sample shows how to implement the Audio Sandbox JavaScript library for <span id="os"></span>.</div>
            <div class="browserStatus">Chrome: Yes</div>