<div>This works:<br></div><div><br></div><div> html map<br> onClick: (html scriptaculous evaluator<br> callback: [ :x | x asInteger < 200 ifTrue: [ self previousPage ] ifFalse: [ self nextPage ]]<br>
value: (JSStream on: 'arguments[0].x');<br><br> callback: [ :script | true ];<br> return: false);<br><br> with: [ html image id: #WWW; url: MMAFileLibrary / self getCurrentPageFile ].<br>
</div><div><br></div><div>The calls to #previousPage and #nextPage have the script to update the DOM element with the previous or next slide.</div><div><br></div><div>Tried before to use #callback:value: (as a "secondary callback") but didn't add the additional #callback: (as a "primary callback"). That doesn't work!<br>
</div><div><br></div><div>Thanks Julian!</div><div><br></div><div>---John<br>
</div><br>