-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEfectos.js
More file actions
61 lines (52 loc) · 1.51 KB
/
Copy pathEfectos.js
File metadata and controls
61 lines (52 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
'use strict'
// Animaciones con jquery
$(document).ready(function(){
/*$('#mostrar').hide();
$("#mostrar").click(function(){
$(this).hide();
$("#ocultar").show();
$("#box").fadeTo('slow', 1);
});
$("#ocultar").click(function(){
$(this).hide();
$('#mostrar').show();
$("#box").fadeTo('slow', 0);
});
$("#all").click(function(){
jQuery("#box").slideToggle('slow');
});*/
$("#all").click(function(){
$("#box").animate(
{
marginLeft : '500px',
fontSize:'40px',
height: '110px'
},'slow')
.animate(
{
borderRadius: '900px',
marginTop:'100px'
},'slow')
.animate(
{
marginLeft:'0px',
},'slow')
.animate(
{
marginTop: '0px',
borderRadius: '100px'
},'slow')
.animate(
{
fontSize: '27px',
borderRadius: '0px',
height: '70px',
marginTop: '20px',
paddingTop: '13px'
}, 'slow')
.animate(
{
marginLeft : '500px',
}, 'slow');
});
});