forked from jekyller/PanelCV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.html
executable file
·95 lines (70 loc) · 3.17 KB
/
scripts.html
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
<!-- jquery | jQuery 1.11.0 -->
<!-- Credits: http://jquery.com -->
<script type="text/javascript" src="assets/js/jquery.min.js"></script>
<!-- Js | bootstrap -->
<!-- Credits: http://getbootstrap.com/ -->
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
<!-- Js | jquery.cycle -->
<!-- Credits: https://github.com/malsup/cycle2 -->
<script type="text/javascript" src="assets/js/jquery.cycle2.min.js"></script>
<!-- jquery | rotate and portfolio -->
<!-- Credits: http://jquery.com -->
<script type="text/javascript" src="assets/js/jquery.mixitup.min.js"></script>
<script type="text/javascript" src="assets/js/HeadImage.js"></script>
<!-- Js | easyResponsiveTabs -->
<!-- Credits: http://webtrendset.com/demo/easy-responsive-tabs/Index.html -->
<script type="text/javascript" src="assets/js/easyResponsiveTabs.min.js"></script>
<!-- Js | jquery.cookie -->
<!-- Credits: https://github.com/carhartl/jquery-cookie -->
<script type="text/javascript" src="assets/js/jsSwitcher/jquery.cookie.js"></script>
<!-- Js | switcher -->
<!-- Credits: http://themeforest.net/user/FlexyCodes -->
<script type="text/javascript" src="assets/js/jsSwitcher/switcher.js"></script>
<!-- Js | mCustomScrollbar -->
<!-- Credits: http://manos.malihu.gr/jquery-custom-content-scroller -->
<script type="text/javascript" src="assets/js/jquery.mCustomScrollbar.concat.min.js"></script>
<!-- jquery | prettyPhoto -->
<!-- Credits: http://www.no-margin-for-errors.com/ -->
<script type="text/javascript" src="assets/js/jquery.prettyPhoto.js"></script>
<!-- Js | gmaps -->
<!-- Credits: http://maps.google.com/maps/api/js?sensor=true-->
<script type="text/javascript" src="assets/js/gmaps.min.js"></script>
<!-- Js | Js -->
<!-- Credits: http://themeforest.net/user/FlexyCodes -->
<script type="text/javascript" src="assets/js/main.js"></script>
<!-- code js for image rotate -->
<script type="text/javascript">
var mouseX;
var mouseY;
var imageOne;
/* Calling the initialization function */
$(init);
/* The images need to re-initialize on load and on resize, or else the areas
* where each image is displayed will be wrong. */
$(window).load(init);
$(window).resize(init);
/* Setting the mousemove event caller */
$(window).mousemove(getMousePosition);
/* This function is called on document ready, on load and on resize
* and initiallizes all the images */
function init() {
/* Instanciate the mouse position variables */
mouseX = 0;
mouseY = 0;
/* Instanciate a HeadImage class for every image */
imageOne = new HeadImage("one");
}
/* This function is called on mouse move and gets the mouse position.
* It also calls the HeadImage function to display the correct image*/
function getMousePosition(event) {
/* Setting the mouse position variables */
mouseX = event.pageX;
mouseY = event.pageY;
/*Calling the setImageDirection function of the HeadImage class
* to display the correct image*/
imageOne.setImageDirection();
}
</script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->