Hi.

I have a div, where i load some external content with ajax, Im
therefore trying to make the div resize to accomodate the new
coontent.

I want it to resize, a bit like Effect.Scale, but without the content
scaling, so that it is only the height/width of the container div that
is changed. therefore Effect.Scale won't work.
I can get the new size it needs to resize, and could ofcourse just use
setStyle(), but i want it to be a animated resize, like Effect.Scale
has.

How can this be done?

the way it is done, I have 2 div's. where the second is nested in the
first one. <div id="container" ><div id="content" ></div></div>.
I load the content into the inner div (content), and measure its size
after it has been loaded, to get the new size. I would then like the
outer div (container) to scale to the new height and width.

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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