summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/base/effects.js
blob: cc31d00e6371349aff5ae143a556a2fd18ccf74a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Prado.Effect = 
{
	Highlight : function(element, duration)
	{
		new Effect.Highlight(element, {'duration':duration});
	},

	Scale : function(element, percent)
	{
		new Effect.Scale(element, percent);
	},
	
	MoveBy : function(element, toTop, toLeft)
	{
		new Effect.MoveBy(element, toTop, toLeft);
	},

	ScrollTo : function(element, duration)
	{
		new Effect.ScrollTo(element, {'duration':duration});
	}
}