-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.js
53 lines (39 loc) · 1.47 KB
/
custom.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
/*=============================================================
Authour URI: www.binarytheme.com
License: Commons Attribution 3.0
http://creativecommons.org/licenses/by/3.0/
100% To use For Personal And Commercial Use.
IN EXCHANGE JUST GIVE US CREDITS AND TELL YOUR FRIENDS ABOUT US
======================================================== */
(function ($) {
"use strict";
var mainApp = {
main_fun: function () {
//HOVER DROPDOWN SCRIPTS
$('ul.nav li.dropdown').hover(function () {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(500);
}, function () {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(500);
});
//TESTIMONIAL & SLIDEER SPEED
$('.carousel').carousel({
interval: 4000 //TIME IN MILLI SECONDS
})
// PRETTYPHOTO FUNCTION
$("a.preview").prettyPhoto({
social_tools: false
});
/*====================================
WRITE YOUR SCRIPTS HERE
======================================*/
},
initialization: function () {
mainApp.main_fun();
}
}
// Initializing ///
$(document).ready(function () {
mainApp.main_fun();
});
}(jQuery));