<div>I trying to use an instance of WAImageMapTag to hold a slide (in a presentation).  Instead of using buttons (on an iPod), I&#39;m trying to advance to the next slide by clicking on the right half of the slide or going back to the previous slide by clicking on the left half.   This requires I have access to &#39;point&#39; in &#39;callback: [ :point | ... ]&#39; associated with the instance of WAImageMapTag. But when using Scriptaculous, I&#39;d like to have something like this:<br>
</div><div><br></div><div>   html map</div><div>      onClick: (html scriptaculous evaluator <br>                        callback: [ :script | self x &gt; 200 ifTrue: [ self nextPage ] ifFalse: [ self previousPage ]];<br>                        return: false);</div>
<div>      callback: [ :point | self x: point x ];<br>      with: [ html image id: #WWW; url: MMAFileLibrary / self getCurrentPageFile ]].<br><br></div><div>This doesn&#39;t work (my conclusion?) because the #callback: in the Scriptaculous evaluator: &quot;Registers aBlock as a primary callback of the receiver.&quot; and the other callback ([ :point | self x: point x ]) is never invoked?  Is there a solution to this Catch-22?</div>
<div><br></div><div>---John</div>