I'm having trouble with the 'loaded' callback function and AJAX links.
It seems that the callback is executed a little too early.

I have a JavaScript function that basically resizes the height of the
columns in my layout when the page is loaded, based on the longest
column, and then displays the footer at the very bottom. I would like
to call this function when the AJAX DIVs are updated, as they change
height based on the content that is asynchronously updated.

The function works the second time I click the AJAX link, but not the
first. It's like the callback is executed before the new properties for
the DIVs are loaded into the browser.

I had the same problem last week trying to move an element around the
page based on results from changing a DIV with AJAX.

Any thoughts or help would be greatly appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to