README.markdown

MagicMarkup

About

Getting Started

To use MagicMockup, simply include the following JavaScript in
your SVG file (directly between the <svg> and <def> tags):

<script xlink:href="magicmockup.js" type="text/ecmascript"/>

If you're using Inkscape 0.48, you can add MagicMockup right in
Inkscape:

Go to File > Document Properties...

Click on the Scripting tab

Enter the path to magicmockup.js in the textbox and click Add

You'll see magicmockup.js added to the list of scripts

Inkscape plays nicely with the script tags, so you only have to
add it once per file, and you can save as much as you want.

To make regions of the document clickable, have each frame as a
layer and give the layer an id. For the clickable shape, add
some directives in the object properties dialog inside of the
"Description" entry.

You invoke a directive as directive=layerName, e.g. next=Layer2.
You can add multiple directives by putting each directive on a new line.