Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery Navbar "persistent toolbars" doesn't work even simple example - what do I do wrong?
    primarykey
    data
    text
    <p>I'm trying to implement <code>navbar</code> "persistent toolbars" so that I need to define the navigation bar once.</p> <p>ref: <a href="http://jquerymobile.com/demos/1.2.0/docs/toolbars/footer-persist-a.html" rel="nofollow">http://jquerymobile.com/demos/1.2.0/docs/toolbars/footer-persist-a.html</a></p> <p>(you need to define <code>data-id="the same"</code> on each page)</p> <p>First I put straight into my development, did no work and as I see it does not seem to work with simple cases either, I tried all kind of combinations.</p> <p>What can be wrong width the following code ? Navivagtion leads to the second page but not toolbar there.</p> <p>CODE: </p> <pre class="lang-html prettyprint-override"><code>&lt;body&gt; &lt;div data-role="page" id="page" data-id="stHedaer&gt; &lt;div data-role="header"&gt; &lt;h1&gt;Page One&lt;/h1&gt; &lt;div data-role="navbar" data-position="fixed"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#p2"&gt;page2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#p3"&gt;page3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;div data-role="content"&gt; Page one &lt;/div&gt; &lt;div data-role="footer"&gt; &lt;h4&gt;Page Footer&lt;/h4&gt; &lt;/div&gt; &lt;/div&gt; &lt;div data-role="page" id="p2" data-id="stHedaer"&gt; &lt;div data-role="header" &gt; &lt;h1&gt;Page Two&lt;/h1&gt; &lt;/div&gt; &lt;div data-role="content"&gt; Content &lt;/div&gt; &lt;div data-role="footer"&gt; &lt;h4&gt;Page Footer&lt;/h4&gt; &lt;/div&gt; &lt;/div&gt; &lt;div data-role="page" id="p3" data-id="stHedaer" &gt; &lt;div data-role="header"&gt; &lt;h1&gt;Page Three&lt;/h1&gt; &lt;/div&gt; &lt;div data-role="content"&gt; Content &lt;/div&gt; &lt;div data-role="footer"&gt; &lt;h4&gt;Page Footer&lt;/h4&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload