-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
101 lines (94 loc) · 2.34 KB
/
script.js
File metadata and controls
101 lines (94 loc) · 2.34 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
$(document).ready(function(){
$("#dev-img").click(function(){
$("#dev-img").slideDown('1500').hide('1000');
$("#dev").show('1500');
});
$("#dev").click(function(){
$("#dev").slideUp('1500');
$("#dev-img").slideDown('1500');
});
});
$(document).ready(function(){
$("#des-img").click(function(){
$("#des-img").slideDown('1500').hide('1000');
$("#design").show('1500');
});
$("#des-img").click(function(){
$("#des").slideUp('1500');
$("#des").slideDown('1500');
});
});
$(document).ready(function(){
$("#prod-img").click(function(){
$("#prod-img").slideDown('1500').hide('1000');
$("#prod").show('1500');
});
$("#prod").click(function(){
$("#prod").slideUp('1500');
$("#prod-img").slideDown('1500');
});
});
$(document).ready(function(){
$("#work1").mouseover(function(){
$("#overlay").show();
}).mouseout(function(){
$("#overlay").hide();
});
});
$(document).ready(function(){
$("#work2").mouseover(function(){
$("#overlay2").show();
}).mouseout(function(){
$("#overlay2").hide();
});
});
$(document).ready(function(){
$("#work3").mouseover(function(){
$("#overlay3").show();
}).mouseout(function(){
$("#overlay3").hide();
});
});
$(document).ready(function(){
$("#work4").mouseover(function(){
$("#overlay4").show();
}).mouseout(function(){
$("#overlay4").hide();
});
});
$(document).ready(function(){
$("#work5").mouseover(function(){
$("#overlay5").show();
}).mouseout(function(){
$("#overlay5").hide();
});
$("#work6").mouseover(function(){
$("#overlay6").show();
}).mouseout(function(){
$("#overlay6").hide();
});
$("#work7").mouseover(function(){
$("#overlay7").show();
}).mouseout(function(){
$("#overlay7").hide();
});
$("#work8").mouseover(function(){
$("#overlay8").show();
}).mouseout(function(){
$("#overlay8").hide();
});
});
$(document).ready(function(){
$("form#form34A").submit(function(event){
// event.preventDefault();
var name = $("input#MERGE1").val();
var email = $("input#MERGE0").val();
var message = $("textarea#comment").val();
if ($("input#MERGE1").val() && $("input#MERGE0").val()){
alert (name + ", we have received your message. Thank you for reaching out to us.");
}
else {
alert("Please enter your name and email!");
}
});
});