Jump to content

Fly-out modal form from the right


d.bernaert

Recommended Posts

  • 3 weeks later...

Hi all,

i use TweenMax.min.js to slide in components in the onshow of forms without problems.

Now I'm trying to do the same for modal forms but that does not work apparently.

For the components I have the following code:

in the script part of the form:

function SlideInForm(frm)
{     
   TweenLite.from($('#'+frm), 0.5, {y:-300, delay:1});  
}

Then in extjs events I have the following:

function window.show(sender, eOpts)
{
  SlideInLogo(LoginFrm.ImageLogo.id); 

}

But does not work with modal forms. when using SlideInForm(UniForm1.id);

I also tried with calling #1.

Any idea

Dominique

Link to comment
Share on other sites

Hi Dominique,

i used tweenlite, but replaced it (to mutch problems..)

 

i use now:

  unisession.AddJS(self.WebForm.JSName + '.animate( {  duration: 700, to: { y: '
    + inttostr(45) + '  } });');

 

works fine with components and Forms ..

 

HTH

Erich

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...