forked from tomasbarak/materiasipm.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
muestras.js
75 lines (57 loc) · 1.38 KB
/
muestras.js
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
62
63
64
65
66
67
68
69
70
71
72
73
$(document).ready(function() {
$("#boton1").click(function(){
$("*").hide();
});
$("#boton2").click(function() {
$("img").toggle();
})
$("#boton3").click(function() {
$("img").hide();
})
$("#boton4").click(function() {
$("img").show();
})
$("#boton5").click(function() {
$("img").fadeIn();
$("img").fadeIn("slow");
$("img").fadeIn(5000);
})
$("#boton6").click(function() {
$("img").fadeOut();
$("img").fadeOut("slow");
$("img").fadeOut(5000);
})
$("#boton7").click(function() {
$("img").fadeToggle();
$("img").fadeToggle("slow");
$("img").fadeToggle(5000);
})
$("#boton8").click(function() {
$("img").slideDown();
})
$("#boton9").click(function() {
$("img").slideUp();
})
$("#boton10").click(function() {
$("img").slideToggle();
})
$("#boton11").click(function() {
$("img").animate({ marginLeft : '100%'});
})
$("#boton12").click(function() {
$("img").animate({ width: '100%' });
})
$("#boton13").click(function() {
$("img").animate(
{
opacity: '0.5',
width: '100%'
}
);
})
$("#boton14").click(function() {
$("img").animate({
height: 'toggle'
});
})
});