No, there are no system events for when elements' sizes or contents have
changed.  Working with dynamically changing element heights is a pain in the
ass. :-)  Even worse across browsers....

-Fred

On Wed, Jun 4, 2008 at 6:33 AM, gotfredsen <[EMAIL PROTECTED]> wrote:

>
> I´ve seemed to fix the issue a little bit with a custom event .. but
> the fix is yerky and wont update the scroll handle height smoothly ..
>
> when the accordion is expanded I send a custom event that tells the
> scrollbar to update .. but hey there must be some simple way to
> monitor a div in prototype ..
>
> For example say that I have a <div id="content">bla bla bla</div>
>
> and then sudenly that div is updated with some new content <div
> id="content">hfkjdahsfkjdsah hfkdjahf</div>
> then there must be some kund of onChange function that can tell the
> scrollbar that the div have changed ???


-- 
Science answers questions; philosophy questions answers.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to