Hi all,
I suspect there's a simple solution to this small, but annoying problem.
My Tapestry page uses a simple javascript to rotate an image 90 degrees
the moment the image is rendered on screen. It does this by adding a CSS
class to the button element that contains the image.
**The JavaScrip
Your javascript register when document is ready , it means just affect when
page load or refresh page. If you want handle it via button, please
register onclick event for this button and implement new small function
with call the same snippet. Assume you're using jquery, so here is my
thoughts:
$(
Hi
Zone updates are updates of parts of the page, so the ready function is not
triggered for those. Consider also performing your initialization on zone
updates. See:
http://tapestry.apache.org/current/coffeescript/events.html#section-20 for
the zone related events.
--
Chris
On Tue, Sep 25, 201