Anne asks: Is there a way to use this plugin with image maps?
And by ‘this plugin’ she means Collapse-O-Matic. Well, Anne, that’s a good question! Let’s see what we can figure out here. First we need an image with an image map. We’ll pick something easy… like this:
The pie is a lie
Now clearly we will need to use the roll-your-own method to assign the triggers and target elements. So each of the image map area elements will need the
collapseomatic class assigned. And since we do not want arrows assigned, we will also give each area element the class of
<area id="noteaten" class="collapseomatic noarrow" shape="poly" coords="x, y, z, n" />
Now we just need to add in our target elements:
<div id="target-noteaten" class="collapseomatic_content ">Target Content</div>