hiding header not working with multiple-page template
Hi there,
I'm using version 1.4.5.
Structure is like this:
- <head>
- ...
- <script>
- $(function () {
- $("[data-role='header']").toolbar();
- $("[data-role='panel']").panel();
- });
- </script>
- </head>
- <body>
- <div data-role="header" data-position="fixed" ...>
- <a href="#tocpanel" class="...">...
- ...
- </div>
- <div data-role="page" id="one">
- ...
- </div>
- <div data-role="page" id="two">
- ...
- </div>
- <div data-role="panel" id="tocpanel" ...>
- <a href="#one">...
- <a href="#two">...
- </div>
- </body>
Multiple-page template works like a charm.
Fixed header also works on both pages.
Expected behaviour on every page is that you can change the header class 'ui-fixed-hidden' with a click anywhere on page.
But this only works on the first page (id="one") and not on the second page (id="two")!
Any ideas on how to solve this?
Thanks in advance,
Ronald