Asad Khan Asad Khan - 1 year ago 84
jQuery Question

How to add some content or banner thing in jquery mobile before divs with roles page and header with fixed positions

How to add some content or banner thing in jquery mobile before divs with roles page and header with fixed positions

<div data-role="page" >
<div class="note">bla bla</div>
<div data-role="header" data-position="fixed">
</div>
</div>


I want to show something like notification at very top see div with class note
At the moment note div is present in page source code but nowhere in page display

Answer Source

Remove data-position="fixed", then div with class="note" will be shown

<div data-role="header" data-position="fixed">
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download