PDA

View Full Version : Animated Transitions in BorderLayout



jfaust97
5 Jan 2007, 7:26 AM
Is it possible to have the west panel animate like the resizable animated transitions?
I haven't seen an example of it... but it would be cool if it could...

Thanks

Animal
5 Jan 2007, 7:44 AM
Is this what you are looking for?

http://www.yui-ext.com/playpen/yui-ext.0.40/docs/output/YAHOO.ext.LayoutRegion.html#config-animate

I haven't tried it personally, but it sounds like what you want.

jfaust97
5 Jan 2007, 7:58 AM
Almost but not exactly...
This makes the panel animate when it is minimized or restored...
What I was looking for was the nifty animation when you drag to resize the panel...
Like the Animated Transitions

on:

http://www.yui-ext.com/deploy/yui-ext/examples/resizable/basic.html

Thanks for the reply...

Animal
5 Jan 2007, 8:14 AM
I'd find it a bit annoying if the thing resized half a second after I'd done the mouse gesture. I'm impatient! I'd be doing the next operation while the thing was sliding. Don't do fancy graphical stuff just for the sake of it!

jfaust97
5 Jan 2007, 11:33 AM
I can appreciate that view...
But isn't 1/2 the web development we do "fancy graphical stuff just for the sake of it"?
I know there's a happy medium of form and function...
I think Jack has found that happy medium in most everything so far...
And with being able to set the timing on the resize you should be able to add a little zing without making the impatient ones too mad...