Skip to content

Commit 9720b8e

Browse files
author
Sakthi002
committed
Files added
0 parents  commit 9720b8e

File tree

70 files changed

+19875
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+19875
-0
lines changed

HTML/404.html

Lines changed: 337 additions & 0 deletions
Large diffs are not rendered by default.

HTML/archive.html

Lines changed: 539 additions & 0 deletions
Large diffs are not rendered by default.

HTML/assets/app/css/app.css

Lines changed: 1588 additions & 0 deletions
Large diffs are not rendered by default.

HTML/assets/app/js/app.js

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
(function($) {
2+
"use strict";
3+
4+
/*-----------------------------------------------------------------------------------*/
5+
/* Site Navigation
6+
/*-----------------------------------------------------------------------------------*/
7+
$('#navbar .navbar-menu').mobileMenu({className: 'form-control'})
8+
$('#navbar .navbar-menu li').each(function(){
9+
$(this).filter('.active').parents('li').addClass('active');
10+
if ( $('ul', this).length > 0 )
11+
$(this).children('a').append(' <i class="sub-indicator fa fa-angle-down fa-fw text-muted"></i>')
12+
})
13+
$('#navbar .navbar-menu, #navbar .navbar-user').superfish({
14+
animation: {opacity:'show', height:'show'},
15+
delay: 100,
16+
speed: "fast"
17+
})
18+
$('#navbar .navbar-user > li > a').on('click', function() {
19+
$(this).parent().toggleClass('opened')
20+
})
21+
22+
/*-----------------------------------------------------------------------------------*/
23+
/* Main Search
24+
/*-----------------------------------------------------------------------------------*/
25+
$.ajax({
26+
url: 'search-terms.php',
27+
dataType: 'json'
28+
}).done(function (data) {
29+
$('#header-search .search-field').autocomplete({
30+
lookup: data,
31+
appendTo: '#header-search .form-inline .form-group',
32+
onSearchStart: function(){
33+
$(this).addClass('loading');
34+
},
35+
onSearchComplete: function(){
36+
$(this).removeClass('loading');
37+
}
38+
});
39+
});
40+
$('#header-search .search-field').on('focus', function() {
41+
$('#header-search .search-advance-button').fadeIn()
42+
$('#header-search .search-advance').slideDown()
43+
})
44+
$('#header-search .search-advance-button').on('click', function(e) {
45+
e.preventDefault()
46+
$(this).fadeOut(100)
47+
$('#header-search .search-advance').slideUp(100)
48+
})
49+
50+
/*-----------------------------------------------------------------------------------*/
51+
/* Tooltip
52+
/*-----------------------------------------------------------------------------------*/
53+
$('[data-toggle="tooltip"]').tooltip()
54+
55+
/*-----------------------------------------------------------------------------------*/
56+
/* Accordion
57+
/*-----------------------------------------------------------------------------------*/
58+
$('.accordion .accordion-toggle').prepend('<i class="fa fa-caret-down fa-fw pull-left text-danger"></i>')
59+
60+
/*-----------------------------------------------------------------------------------*/
61+
/* Section
62+
/*-----------------------------------------------------------------------------------*/
63+
$('.section-title').prepend('<i class="line"></i>')
64+
65+
/*-----------------------------------------------------------------------------------*/
66+
/* Tweets List
67+
/*-----------------------------------------------------------------------------------*/
68+
$('#tweets-list').carousel()
69+
70+
})(jQuery);

0 commit comments

Comments
 (0)