-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathboot-business.js
31 lines (27 loc) · 1020 Bytes
/
boot-business.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
/*
* Copyright 2012 soundarapandian
* Licensed under the Apache License, Version 2.0
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
$("document").ready(function() {
/*Start: Prevent the default white background on blur of top navigation */
$(".dropdown-menu li a").mousedown(function() {
var dropdown = $(this).parents('.dropdown');
var link = dropdown.children(':first-child');
link.css('background-color', "#2E3436");
link.css('color', 'white');
});
/*End: Prevent the default white background on blur of top navigation */
/*Start : Automatically start the slider */
$('.carousel').carousel({
interval: 4000
});
/*End: Automatically start the slider */
});