Method: display: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Sets the display. | Sets the display. There are two display modes: <tt>single</tt> for only one page per view and <tt>double</tt> for two pages per view. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 11: | Line 11: | ||
| String | | String | ||
| Display value | | Display value | ||
| You must | | You must specify this parameter | ||
|} | |} | ||
Example: | |||
<pre class="javascript"> | <pre class="javascript"> | ||
Line 19: | Line 21: | ||
</pre> | </pre> | ||
'''Note:''' Using the single display will add the rule <tt>overflow:hidden</tt> to the flipbook. | |||
==See also== | |||
* [[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>