topical media & game development

talk show tell print

mobile-js-sample-chapter-3-3-4.htm / htm



  <!DOCTYPE html>
  <html>
    <head>
      <title>jQuery Mobile Application</title>
  
          <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
          <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
          <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
  
    </head>
    <body>
  
          <section id="page1" data-role="page">
            <header data-role="header"><h1>jQuery Mobile</h1></header>
            <div class="content" data-role="content">
  
                  <h3>Nested List Example</h3>
                  <ul data-role="listview">
                    <li>Restaurants
                      <ul>
                        <li>French
                          <ul>
                            <li>Le Central</li>
                            <li>Bistro Vandome</li>
                            <li>Antoine's</li>
                          </ul>
                        </li>
                        <li>Cajun and Creole
                          <ul>
                            <li>Bayou Bob's</li>
                            <li>Pappadeaux</li>
                            <li>Lucile's</li>
                          </ul>
                        </li>
                        <li>American
                          <ul>
                            <li>Dixon's</li>
                            <li>Vesta Dipping Grill</li>
                            <li>Steuben's</li>
                          </ul>
                        </li>
                      </ul>
                    </li>
                  </ul>
            </div>
            <footer data-role="footer"><h1>O'Reilly</h1></footer>
          </section>
  
          
    </body>
  </html>
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.