[jQuery] Jquery Cycle after callback problem?

[jQuery] Jquery Cycle after callback problem?


Hi,
I am using the after callback to animate a div to the height of the
next image after you click on the thumbnail.
This works great (in Firefox only) when you actually click on the
thumbnail, but when you first come to the gallery, from the toc page,
(click on the first gallery):
http://dev2.accelsite.com/index.php?contentID=714
The animate method inside the onAfter function gets fired on initial
page load, which makes the height of the container 0px.
This is the gallery page that you go to after the above page:
http://dev2.accelsite.com/index.php?contentID=714&sort=&recordID=%2040&sort=event_name
Is there something i'm doing wrong here?
I've also tried giving that div a height on page load, but animate()
still zeros it.
Any help is much appreciated.
Andrej