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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...