Method 2: Automatic arrangement by stamp
If you just want to use your HTML Imagmap as a fancy Table of Contents, then BoxPress can arrange your notes for you.
To enable this feature, change the prototype of the note to outmaker_note so that you can easily access the “OutMap control panel”—which is just the Key Attribute Table for that prototype:

The relevant key attributes are as follows:
-
$outRowMax
—Sets the maximum column length, in rows. -
$outWidth
—The column width, calculated as the$Width
of the widest (heading 1) note minus$outPaddingX
. -
$outHeight
—The height of each note. -
$outGapX
—The horizontal gap between columns. -
$outGapY
—The vertical gap between rows. -
$outH1
—The color for all heading 1 notes. -
$outH2
—The color for all heading 2 notes.
Select All the notes and run the stamp. Doing this will resize and arrange them into an OutMap whose columns are $outRowMax
long:

Note that after running, the agent self-deactivates (by setting its $AgentPriority
to -1) since refreshing an agent destroys the positions and sizes of its contents. To refresh the agent contents (and destroy your layout), change the -1 to the default (1) and then update the agent.