This is a migrated thread and some comments may be shown as answers.

Changing/Removing animation client-side

2 Answers 47 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian Adle
Top achievements
Rank 1
Brian Adle asked on 03 Jun 2011, 09:27 PM
I'm creating windows client side and need them to appear much quicker.  The open animation isn't ideal.  Is there a way to disable or speed up the display?

2 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 06 Jun 2011, 12:11 PM
Hi Brian Adle,

Thank you for contacting us.

You can hooking up to the "OnLoad" client-event and set different close and open duration(in milliseconds).

function onLoad(e) {
   var window = $(this).data("tWindow");
   window.effects.openDuration = 1000;
   window.effects.closeDuration = 50;
}


All the best,
Hristo Germanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Hristo Germanov
Telerik team
answered on 06 Jun 2011, 12:11 PM
Hi Brian Adle,

Thank you for contacting us.

You can hooking up to the "OnLoad" client-event and set different close and open duration(in milliseconds).

function onLoad(e) {
   var window = $(this).data("tWindow");
   window.effects.openDuration = 1000;
   window.effects.closeDuration = 50;
}

 All the best,
Hristo Germanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Brian Adle
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or