How to transition existing divs in yui3 to Overlay bodyContent -
i've figured out how create overlay, center it, , set it's bodycontent existing page. far - want make transition happen smoothly on 1 full second instead of instantaneously.
the examples i've seen indicate 1 must know initial , final positions, in case, don't know them, since i'm saying:
overlay.set('bodycontent', y.one('#node')); overlay.set('centered', true) i've created jsbin @ http://jsbin.com/ovuxan/5/edit shows issue.. (my transition whacky least) , appreciate in making smoother.
you can use widgetanim plugin you. can cleaner since animations stored in plugin , invoked widget's hide/show functions.
i have used plugin animate overlay here: http://jsbin.com/ohafec/1/edit
helpful links:
Comments
Post a Comment