This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(".popup-click").click(function(){ | |
| //$(".popup").slideToggle("fast"); | |
| //$('.mask').toggleClass('open'); | |
| $(".popup,.mask").addClass("open"); | |
| $("a.close").click(function(){ | |
| $(".popup,.mask").removeClass("open"); | |
| }); | |
| return false; | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //jQuery for page scrolling feature | |
| $(function() { | |
| $('.nav li a').on('click', function(event) { | |
| $('html, body').stop().animate({ | |
| scrollTop: $($(this).attr('href')).offset().top | |
| }, 900); | |
| if ($(window).width() < 769) { | |
| $(".nav").slideToggle("fast"); | |
| } | |
| event.preventDefault(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(window).on('scroll', function() { | |
| $('*[class^="land"]').each(function() { | |
| if($(window).scrollTop() >= $(this).offset().top) { | |
| var id = $(this).attr('id'); | |
| $('a').removeClass('current'); | |
| $('a[href=#'+ id +']').addClass('current'); | |
| } | |
| }); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(window).scroll(function() { | |
| var sticky = $('.header,.header-wrap'), | |
| scroll = $(window).scrollTop(); | |
| (scroll >= 100 ) ? sticky.addClass('fixed') : sticky.removeClass('fixed'); | |
| }); | |
| /*css*/ | |
| .fixed{ | |
| position:fixed; | |
| background: #BEEB9F; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # git | |
| alias ss='git status' | |
| alias ff='git diff' | |
| alias ll='git log' | |
| alias show='git show' | |
| # git add | |
| alias dd='git add' | |
| alias ddd='git add .' | |
| alias cc='git commit -m' | |
| alias ppp='git push -u origin master' |
NewerOlder