Class: .p

From Turn.js Documentation
Revision as of 23:45, 25 November 2012 by Emmanuel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This class describes a particular page. For instance, .p1 refers to the first page, .p2 to the second page and so on. You can change the number of a page no matter its order in the HTML:

<div id="flipbook">
  <div class="p100">Page 100</div>
  <div class="p1">Page 1</div>
Main Page > Turn CSS > Class: .p

You can also use it as a jQuery selector:

$("#flipbook .p100").doSomething();