Area

From MegaZine3
Jump to: navigation, search


The area element can be used to create invisible regions to be used for user interaction. This is basically equivalent to using an img element loading a transparent image.

Contents

Attributes

height

The height of the element. Required.

width

The width of the element. Required.

Examples

<book plugins="anchors,links,overlays">
    <chapter>
        <page>
            <img src="data/cover.jpg"/>
            <area width="200" height="100" url="anchor:index"/>
        </page>
        <spreadpage anchor="index">
            <img src="data/index.jpg"/>
        </spreadpage>
        <!-- ... -->
    </chapter>
</book>
MegaZine3 Core-related articles
Book elements Book · Chapter · Page · Spreadpage
Page elements Area · GIF · Image · Navigation · Sound · Text · Video
Personal tools
Namespaces
Variants
Actions
Navigation
documentation
miscellaneous
Toolbox