[Seaside] Re: WAImageMapTag problem with Scriptaculous?
john.chludzinski at gmail.com
Wed Nov 11 07:01:58 UTC 2009
onClick: (html scriptaculous evaluator
callback: [ :x | x asInteger < 200 ifTrue: [ self previousPage ]
ifFalse: [ self nextPage ]]
value: (JSStream on: 'arguments.x');
callback: [ :script | true ];
with: [ html image id: #WWW; url: MMAFileLibrary / self
The calls to #previousPage and #nextPage have the script to update the DOM
element with the previous or next slide.
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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside