1//ç©ä»¶åçã®æ¡å¤§ 2var galleryOpts = { 3 arrowNavigation: true 4}; 5var options = { 6 closeOnScroll: true, 7}; 8 9// Lightbox ä¸è¦ 10//var luminousTrigger = document.querySelectorAll('.zoom-in'); 11//new LuminousGallery(luminousTrigger, galleryOpts, options); 12 13$(function(){ 14 //ãã¼ã¸ãã 15 var nav = $('.property-nav'); 16 var navH = nav.height(); 17 var hdH = $('header').height(); 18 var pnav = $('.property-nav-items'); 19 var pnavH = pnav.height(); 20 var shareBtn = $('#share-btn'); 21 var shareBtnList = $('.share-btn-list'); 22 nav.css({'top':-navH-3}).show(); 23 $(window).on('scroll', function() { 24 if( $(window).scrollTop() > hdH){ 25 // ãããã¼åºå®ãã¦ããå ´å㯠追å ãããã¼ä½ç½®ãåè¨ç®ãã¦èª¿æ´ 26 if ($('header').css('position') == 'fixed') { 27 hdH = $('header').height(); 28 nav.css({'top':hdH}); 29 } else { 30 nav.css({'top':0}); 31 } 32 } else { 33 nav.css({'top':-navH-3}); 34 pnav.css({'top':0+'px'}); 35 shareBtnList.fadeOut(); 36 } 37 }); 38 $('#property-nav-items-btn').on('click',function() { 39 if (pnav.css('top') == 0+'px') { 40 pnav.css({'top':navH+1+'px'}); 41 } else { 42 pnav.css({'top':0+'px'}); 43 } 44 }); 45 var listPos = $('.property-nav-btn-list').outerWidth() - shareBtn.outerWidth(); 46 shareBtnList.css({'right':listPos+'px'}); 47 shareBtn.on('click',function() { 48 shareBtnList.fadeToggle(100); 49 }); 50 //ã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 51 $('.property-nav a[href^="#"]').on('click',function() { 52 var speed = 400; // ããªç§ 53 var href= $(this).attr("href"); 54 var target = $(href == "#" || href == "" ? 'html' : href); 55 var position = target.offset().top - (navH+pnavH+48); 56 $('body,html').animate({scrollTop:position}, 800, 'swing'); 57 return false; 58 }); 59});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.