Home  Beta programs 
  Welcome to Mobipocket Developer Center
Home | Show TOC | Add to Favorites

Sections

The <mbp:section> tag allows the definition of sections in a book, from which the user cannot escape by turning to the next page at the end of the section or turning to the previous page at the beginning of the section.

This is enforced by using the crossable="no" attribute. In this case, the only way to jump from one section to another is to have hyperlinks or indexes which point into another location.

You can also use this attribute in the <mpb:frameset> tag, which encloses a non crossable main HTML content flow

By default if no attribute is set, crossable="yes"

Example :

<mbp:section crossable="no">
This is the first section.<a href="#section2">Go to the next section</a>
</mbp:section>
<mbp:pagebreak/>

<mbp:section crossable="no">
<a name="section2" />This is the second  section
</mbp:section>

 

Copyright 2000-2007 Mobipocket.com