W dniu 2011-02-20 15:21, jeremy pisze:
I have a div, with a variable height of, let's say, for example,
1000px.
I want the div to be "half-hidden" : when the page is loaded I want to
see a 400px height
Then I click on a link "show the full div", and the hidden 600px are
shown
Try to use Effect.Morph
(http://madrobby.github.com/scriptaculous/effect-morph/)
On page load set for div height 400px and overflow hidden
On click call morph effect:
$('yourDiv').morph('height: 1000px');
Greets
Jusuff
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.