0

Given my html structure as:

<body>
  <div data-role="page" data-theme="b">
  <header>My header</header>
    <div data-role="content">
    My page-specific content
    </div>
  <footer>My footer</footer>
  </div><!-- page end-->
</body><!-- body end-->

I want JQM.js (and JQM.css) to work on the header, footer, but not on the page.

.1. How to neutralize JQM.js on this single <div data-role="content"> element ?


Optional: 2. If possible, how neutralizing JQM.css on same element ?

4

1 回答 1

2

更改data-role="content"data-role="none"

于 2013-04-25T19:11:23.297 回答