Permalink
Browse files

[hashchange functional test] Adding simple nav menu to study #5094

  • Loading branch information...
1 parent 17dfe07 commit 69104f7fdcf9f82f4c9fae5131913885593ccaa4 @gabrielschulhof gabrielschulhof committed Oct 2, 2012
Showing with 16 additions and 0 deletions.
  1. +8 −0 tests/functional/hashchange/hashchange.html
  2. +8 −0 tests/functional/hashchange/hashchange1.html
@@ -18,9 +18,17 @@
<div data-role="page" id="hashChangePage">
<div data-role="header">
<a href="#popup" data-rel="popup">Popup</a>
+ <a href="#navMenuForAPage" data-rel="popup">Go To</a>
<h1>A page</h1>
</div>
<div data-role="content">
+ <div data-role="popup" data-transition="slideup" id="navMenuForAPage">
+ <div data-role="collapsible">
+ <h3>Navigation</h3>
+ <a href="hashchange.html" data-role="button">A page</a>
+ <a href="hashchange1.html" data-role="button">Another page</a>
+ </div>
+ </div>
<a data-role="button" href="#common">Common</a>
<a data-role="button" href="hashchange1.html">Another page</a>
<a data-role="button" href="#page2">A page: internal page</a>
@@ -14,9 +14,17 @@
<body>
<div data-role="page">
<div data-role="header">
+ <a class="ui-btn-right" href="#navMenuForAnotherPage" data-rel="popup">Go To</a>
<h1>Another page</h1>
</div>
<div data-role="content">
+ <div data-role="popup" data-transition="slideup" id="navMenuForAnotherPage">
+ <div data-role="collapsible">
+ <h3>Navigation</h3>
+ <a href="hashchange.html" data-role="button">A page</a>
+ <a href="hashchange1.html" data-role="button">Another page</a>
+ </div>
+ </div>
<a data-role="button" href="hashchange.html">A page</a>
<a data-role="button" href="hashchange2.html">Yet another page</a>
<div id="another-popup" data-role="popup">

0 comments on commit 69104f7

Please sign in to comment.