Page 1 of 1

Pui.animate and pui.start function not working.

Posted: Tue Mar 19, 2013 12:23 pm
by hsn752
I have Created a APP and its contain Two Screen. By using the Mobile Layout.

I have put the call the function pui.animate() on windows_onload event. and after that i execute my Program.

But its not behaving like that.

Can you help.

window.onload = function() {
pui.animate({ element: "MainLayout1", effect: "fade in" });
pui.animate({ element: "Layout2", effect: "fade out" });
pui.run({ program: "MYLIB/GIRDIMGC2" });
};



Also i required to USE SIGN ON feature for my APP. i tired to use pui.start but its not work.


Thanks alot.

Re: Pui.animate and pui.start function not working.

Posted: Wed Mar 20, 2013 6:28 pm
by Alex
the pui.animate() function should be called using the "onload" event for the particular screen in the Profound UI Visual Designer, rather than the window.onload event.

Regarding the the Use of Sign On. Can you explain how you are launching your application? Have you looked into the pui.signon() API?