-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmentor.js
115 lines (69 loc) · 2.39 KB
/
mentor.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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
document.getElementById('inp').style.border="1px solid white";
const sections = document.querySelectorAll("section");
function footInput() {
document.getElementById('inp').style.border = "1px solid black";
}
$( "#eve1" ).mouseover( function() {
console.log ("asmaaaa");
$( "#eve" ).attr( "data-aos", "zoom-in" );
});
/*
function gridHover() {
document.getElementById('grid').style.border = "1px solid #5fcf80!important ";
console.log ("assssssssssssss");
} */
//document.getElementById('grid').style.border = "1px solid #dee2e6";
/* document.getElementById('eve1').addEventListener("mouseover", function(){
console.log ("asmaaaa");
});
*/
$(document).ready( function() {
$( ".grid" ).css( "border", "1px solid #dee2e6" );
$( ".grid" ).mouseover( function() {
// document.getElementById('grid').style.border = "1px solid #5fcf80";
$( this ).css( "border", "1px solid #5fcf80" );
});
$( ".grid" ).mouseout( function() {
$( this ).css( "border", "1px solid #dee2e6" );
//document.getElementById('grid').style.border = "1px solid #dee2e6";
});
$(".topScroll").click( function () {
$("html, body").animate({ scrollTop: "0" }, 1000);
$("#topArrow").css( "display", "none" );
} );
$("#topArrow").css( "display", "none" );
$(window).scroll (function(){
$("#topArrow").css( "display", "inline" );
});
$('.counter').counterUp({
delay: 10,
time: 1000
});
function onReady(callback) {
var intervalId = window.setInterval(function() {
if (document.getElementsByTagName('body')[0] !== undefined) {
window.clearInterval(intervalId);
callback.call(this);
}
}, 500);
}
function setVisible(selector, visible) {
document.querySelector(selector).style.display = visible ? 'block' : 'none';
}
onReady(function() {
setVisible('.page', true);
setVisible('#loading', false);
});
$( ".eve1" ).mouseover( function() {
$( ".text-block" ).css("border-top", "5px solid #5fcf80");
$(".eventLink").css({ 'cssText': 'color: #5fcf80!important' });
// $(".eve").css({ 'cssText': 'transform: scale(1.3)' });
});
$( ".eve1" ).mouseout( function() {
$( ".text-block" ).css( "border", "1px solid #dee2e6" );
$( ".eventLink" ).css("color", "#343a40");
});
$('.owl-carousel').owlCarousel();
});
//gridPoint:hover { color: #5fcf80 !important;}
//grid:hover {border: 1px solid #5fcf80!important; }