Difference between revisions of "Background"

From MegaZine3
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
</book>
 
</book>
  
To remove the horizontal line (gradient), set the book element "bggradient" to false
+
To remove the horizontal line (gradient), set the book element "bggradient" to false.
  
 
<book... bggradient="false"...>
 
<book... bggradient="false"...>
Line 18: Line 18:
 
</book>
 
</book>
  
To remove the reflection, set the book element "reflection" to false
+
To remove the reflection, set the book element "reflection" to false.
 +
 
 
<book... reflection="false"...>  
 
<book... reflection="false"...>  
 
.
 
.

Latest revision as of 12:46, 24 April 2011

For a background image behind your book, use the background child element of book.

<book...>

   <background>
        <box anchors="0,0,pw,ph" background="image(../images/background/bk4.jpg)"/>
   </background>
   .
   .
   .

</book>

To remove the horizontal line (gradient), set the book element "bggradient" to false.

<book... bggradient="false"...> . . . </book>

To remove the reflection, set the book element "reflection" to false.

<book... reflection="false"...> . . . </book>