mirror of
https://github.com/dawidolko/Website-Templates.git
synced 2026-03-24 12:02:16 +00:00
Website templates
This commit is contained in:
58
iam-html5-responsive-portfolio-resume-template/js/custom.js
Normal file
58
iam-html5-responsive-portfolio-resume-template/js/custom.js
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* @package
|
||||
* @subpackage template name HTML
|
||||
*
|
||||
* Template Scripts
|
||||
* Created by themeturn
|
||||
|
||||
1. Fixed header
|
||||
2. Site search
|
||||
3. Main slideshow
|
||||
4. Owl Carousel
|
||||
a. Testimonial
|
||||
b. Clients
|
||||
c. Team
|
||||
5. Back to top
|
||||
6. Skills
|
||||
7. BX slider
|
||||
a. Blog Slider
|
||||
b. Portfolio item slider
|
||||
8. Isotope
|
||||
9. Animation (wow)
|
||||
10. Flickr
|
||||
|
||||
*/
|
||||
|
||||
|
||||
jQuery(function($) {
|
||||
"use strict";
|
||||
|
||||
$('.navigation').singlePageNav({
|
||||
currentClass: 'active',
|
||||
changeHash: true,
|
||||
scrollSpeed: 750,
|
||||
offset: 0,
|
||||
filter: ':not(.external)',
|
||||
easing: 'swing',
|
||||
|
||||
});
|
||||
|
||||
$.noConflict();
|
||||
$('.nav a').on('click', function(){
|
||||
if($('.navbar-toggle').css('display') !='none'){
|
||||
$(".navbar-toggle").trigger( "click" );
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
// prettyphoto
|
||||
|
||||
$("a[data-rel^='prettyPhoto']").prettyPhoto();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user