Method: display: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 21: Line 21:
</pre>
</pre>


'''Note:''' Using the single display will add the rules <tt>overflow:hidden</tt> to the flipbook.  
'''Note:''' Using the single display will add the rule <tt>overflow:hidden</tt> to the flipbook.  
==See also==
==See also==
* [[Property: display|Property: display]]
* [[Property: display|Property: display]]
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Latest revision as of 03:46, 9 July 2012

Sets the display. There are two display modes: single for only one page per view and double for two pages per view.

Parameter Type Description Default Value
displayMode String Display value You must specify this parameter

Example:

$("#flipbook").turn("display", "single");

Note: Using the single display will add the rule overflow:hidden to the flipbook.

See also

<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>