hi ..
a small demo ..
i hope it helps :-)
Nice greetings
Erich
(zip file containig folder "files" .. with images and JS-Library .. please store it to your webserver-structure..)
demo.zip
Places where you should look:
Main->UniContainerpanel->ClientEvents->ExtEvents .. Background thing
UniForm1->ClientEvents-ExtEvents ... Animate the form
ServerModule->CustomMeta .. load JS Library
in TUniForm1.UniFormShow - i animate all uniConatinerPanels WHERE THE TAG value (ObjectInspector) is 1
in TMainForm.UniFormCreate - i copied a lot of my css things in UniHTMLFrame1 ... a lot of css declarations are not important for the demo .. a lot of trash ;-)
the basic thing:
UniSession.AddJS('TweenMax.to('+the Component and his JSName+'_id,'+Speed of animation+',{left:'+inttostr(position)+'});');
mini_demo.webm