Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery mobile adds additional scrollbar to page
    primarykey
    data
    text
    <p>I’m currently working with jQuery mobile (for the first time). One of my pages contains a very long text. If I view this page on a desktop browser, jquery will add scroll-bar to the page (additional to the one of the browser). How can I remove the second scroll bar? </p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Header&lt;/title&gt; &lt;meta name="viewport" id="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" /&gt; ... &lt;/head&gt; &lt;body&gt; &lt;div id="infoPage" data-role="page" data-add-back-btn="true"&gt; &lt;div data-role="header" data-position="fixed" data-theme="a" data-fullscreen="false" id="detailsHeader"&gt; &lt;a href="../index.html" rel="external" data-icon="back" class="ui-btn-left"&gt;Back&lt;/a&gt; &lt;h1&gt;Information&lt;/h1&gt; &lt;a href="javascript:history.go(0)" data-icon="refresh" data-iconpos="right" class="ui-btn-right"&gt;Refresh&lt;/a&gt; &lt;/div&gt; &lt;div data-role="content" data-theme="a"&gt; &lt;div data-role="collapsible" data-collapsed="false"&gt; &lt;h1&gt;Information&lt;/h1&gt; &lt;table data-role="table" data-mode="reflow"&gt; .... &lt;/table&gt; &lt;/div&gt; &lt;div data-role="content"&gt; &lt;pre&gt;...large text goes here....&lt;/pre&gt; &lt;/div&gt; &lt;/div&gt; &lt;div data-role="footer" data-position="fixed" data-theme="a" data-fullscreen="false" id="detailsFooter"&gt; &lt;div data-role="navbar"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#overview" rel="external" data-role="button" data-icon="info" data-iconpos="top"&gt;Status&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" data-role="button" data-icon="grid" data-iconpos="top" class="ui-btn-active ui-state-persist"&gt;Info&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p> </p> <p>Sorry... I have completely forgotten the code.</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