Note that there are some explanatory texts on larger screens.

plurals
  1. POjquery mobile change navibar from width
    primarykey
    data
    text
    <p>How to change navbar in jQuery Mobile from width like <a href="http://i.imgur.com/QsfEU.png" rel="nofollow">this</a>?</p> <p>In m.IKEA it's make:</p> <pre><code>&lt;div data-role="header" id="ikea-homeheader" data-backbtn="false"&gt; &lt;div id="ikea-navbar" data-role="headerbar" data-moreListId="#ikea-more-list"&gt; &lt;ul&gt; &lt;li class="ikea-navbar-item "&gt;&lt;a href="/se/sv/" &gt;Hem&lt;/a&gt;&lt;/li&gt; &lt;li class="ikea-navbar-item "&gt;&lt;a href="/se/sv/catalog/functional/" &gt;Sortiment&lt;/a&gt;&lt;/li&gt; &lt;li class="ikea-navbar-item "&gt;&lt;a href="/se/sv/shoppinglist/" rel="nofollow"&gt;Inkopslista&lt;/a&gt;&lt;/li&gt; &lt;li class="ikea-navbar-item ikea-navbar-item-active"&gt;&lt;a href="/se/sv/stores/" &gt;Varuhus&lt;/a&gt;&lt;/li&gt; &lt;li class="ui-headerbar-more-item" data-role="headerbar-more-item"&gt;&lt;a data-role="popupbutton" data-popup-content="more-item-popup" &gt;&lt;div class="ikea-navbar-more-image"&gt;&lt;/div&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;div data-role="popup" id="more-item-popup"&gt; &lt;ul data-role="listview" data-theme="d" id="ikea-more-list"&gt; &lt;/ul&gt; &lt;div data-role="popup-cancel-button"&gt; &lt;div data-role="button" data-theme="c"&gt;Cancel&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>But how it's work I don't understand.</p> <p>In my jQuery mobile 1.0.1 It's don't work ...</p> <p>What's <strong>data-role="headerbar"</strong>, <strong>data-moreListId</strong>, <strong>data-role="headerbar-more-item"</strong> ?</p>
    singulars
    1. This table or related slice is empty.
    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