New v2.2.0 Attributes

/* Make toc float left, to better use the space right to it */ These book attributes had been introduced with version 2.2.0.
 * 1) toc { float:left; margin:1em 2em 1em 0; }

Some attributes define the use of icons, that can differ depending on use for desktop computers or wwith mobile devices.

For mobile/touch devices a new set of bigger icons was designed and now is available and can be selected (also for desktop computers).

The new gestures plugin now allows full control via touch or mouse gestures. Attributes define which gestures are recognized and what navigation elements are visible or will be hidden (most support* attributes are used for this). The gestures* attributes mostly define variables used for fine tuning the behavior of the gestures plugin. Usually those work well with the default settings.

ASUL configuration changes can be avoided in most cases, but are still possible. Many customization options now are supported by book attributes (e.g. support Fullscreen or supportMute to show/hide those toggle buttons).

All attributes are listed in the first table as they are declared in the megazine3.dtd file, referenced in every mz3 file and used for validation in IDEs like IntelliJ IDEA. The description of each attribute follows; in a similar way as how the legacy attributes are defined on the [book page].

Most new attributes support an "auto" value. The final value used is device specific. If auto us used, then big icons will be used for mobile devices, and small ones for desktop computers (you might prefer big one for big monitors also, though).

This documentation is in work! Not all settings are documented yet, and if a description is missing, even the type and default value might be incorrect. Only those attributes with a description had been adjusted and will be valid!

defaultLanguage             CDATA                            "" videoSeekDelay              CDATA                            "1000" videoPlayDelay              CDATA                            "1000" bookPanScaleEnabled         (yes | no | auto)                &quot;auto&quot; bookPanEnabled              (yes | no | auto)                &quot;auto&quot; bookPanRotationEnabled      (yes | no | auto)                &quot;auto&quot; bookSwipeEnabled            (yes | no | auto)                &quot;auto&quot; bookTapEnabled              (yes | no | auto)                &quot;auto&quot; bookDoubleTapEnabled        (yes | no | auto)                &quot;auto&quot; bookTwoFingerTapEnabled     (yes | no | auto)                &quot;auto&quot; bookLongPressEnabled        (yes | no | auto)                &quot;auto&quot; bookStartExpanded           (yes | no | auto)                &quot;auto&quot; bookHideNavbar              (yes | no | auto)                &quot;auto&quot; bookHideSearchInput         (yes | no | auto)                &quot;auto&quot; bookHideZoomControls        (yes | no | auto)                &quot;auto&quot; instantFlip                 (yes | no | auto)                &quot;auto&quot; galleryalign                CDATA                            "center middle" galleryfade                 (true | false)                   "false" gallerymute                 (true | false)                   "false" galleryzoominit             CDATA                            "0" galleryzoommax              CDATA                            "1" galleryzoomsteps            CDATA                            "5" galleryzoomsnap             CDATA                            "0.25,0.5,1,2,4,8" galleryPanScaleEnabled         (yes | no | auto)                "auto" galleryPanEnabled           (yes | no | auto)                "auto" galleryPanRotationEnabled   (yes | no | auto)                "auto" gallerySwipeEnabled         (yes | no | auto)                "auto" galleryRotationEnabled      (yes | no | auto)                "auto" galleryTapEnabled           (yes | no | auto)                "auto" galleryDoubleTapEnabled     (yes | no | auto)                "auto" galleryTwoFingerTapEnabled  (yes | no | auto)                "auto" galleryLongPressEnabled     (yes | no | auto)                "auto" galleryHideControls         (yes | no | auto)                "auto" galleryHideZoomControls     (yes | no | auto)                "auto" gesturesInstantFlip         (yes | no | auto)                &quot;auto&quot; gesturesScaleSnap           (yes | no | auto)                &quot;auto&quot; gesturesMinRotationDelta    CDATA                            &quot;45&quot; gesturesRotationFactor      CDATA                            &quot;1&quot; gesturesRotationStep        CDATA                            &quot;90&quot; gesturesPanStep             CDATA                            &quot;0&quot; gesturesSwipeMinOffset      CDATA                            &quot;-1&quot; gesturesSwipeMinVelocity    CDATA                            &quot;0&quot; gesturesSwipeMaxDuration    CDATA                            &quot;0&quot; gesturesMinLongPressDuration CDATA                           &quot;0&quot; gesturesMaxTapDelay         CDATA                            &quot;0&quot; gesturesMaxTapDuration      CDATA                            &quot;0&quot; gesturesMaxTapDistance      CDATA                            &quot;0&quot; gesturesMaxDoubleTapDelay   CDATA                            &quot;0&quot; gesturesMaxDoubleTapDuration CDATA                           &quot;0&quot; gesturesMaxDoubleTapDistance CDATA                           &quot;0&quot; gesturesTransformSlop       CDATA                            &quot;0&quot; barGraphScaleEnabled        (yes | no | auto )               &quot;auto&quot; barGraphRotationEnabled     (yes | no | auto )               &quot;auto&quot; guipath                     CDATA                            &quot;gui/&quot; guiBigPath                  CDATA                            &quot;guiBig/&quot; enginePath                  CDATA                            &quot;engine/&quot; mz3ButtonsPath              CDATA                            &quot;mz3Buttons/&quot; mz3ButtonsBigPath           CDATA                            &quot;mz3ButtonsBig/&quot; flagsPath                   CDATA                            &quot;flags/&quot; flagsBigPath                CDATA                            &quot;flagsBig/&quot; mobileConfig                (yes | no | auto | undefined)    &quot;auto&quot; openInFullscreen            (yes | no | auto)                &quot;auto&quot; supportBackButton           (yes | no | auto)                &quot;auto&quot; supportConsoleButton        (true | false)                   &quot;false&quot; supportFullscreen           (yes | no | auto)                &quot;auto&quot; supportMute                 (yes | no | auto)                &quot;auto&quot; supportRotation             (yes | no | auto)                &quot;auto&quot; supportFirstLast            (yes | no | auto)                &quot;auto&quot; supportPreviousNext         (yes | no | auto)                &quot;auto&quot; supportPageNumberInput      (yes | no | auto)                &quot;auto&quot; supportFlags                (yes | no | auto)                &quot;auto&quot; supportLangButtons          (yes | no | auto)                &quot;auto&quot; supportPageSlider           (yes | no | auto)                &quot;auto&quot; supportChapterJump          (yes | no | auto)                &quot;auto&quot; supportPageJump             (yes | no | auto)                &quot;auto&quot; supportPageButtons          (yes | no | auto)                &quot;auto&quot; supportPageThumbnails       (yes | no | auto)                &quot;auto&quot; supportPageNumbers          (yes | no | auto)                &quot;auto&quot; supportZoomButtons          (yes | no | auto)                &quot;auto&quot; useBigIcons                 (yes | no | auto | undefined)    &quot;no&quot;