1jQuery(document).ready(function($) { 2 // ã¹ã©ã¤ããã¿ã³ã®ä½ç½®ãã«ãã´ãªã¢ã¤ã³ã³ã¨åãä½ç½®ã«åããã 3 function adjustSlideButtonPosition() { 4 var categoriesWrap = $('.main-slide-top .categories-wrap').first(); 5 if (categoriesWrap.length) { 6 var categoriesTop = categoriesWrap.position().top; 7 var buttonTop = categoriesTop - 10; // 10pxä¸ã«ç§»å 8 $('.slide-button').css('top', buttonTop + 'px'); 9 console.log('Slide button position adjusted to:', buttonTop + 'px'); 10 } else { 11 console.log('Categories wrap not found'); 12 } 13 } 14 15 // ååå®è¡ï¼ç»åèªã¿è¾¼ã¿å¾ã«å®è¡ï¼ 16 setTimeout(function() { 17 adjustSlideButtonPosition(); 18 }, 100); 19 20 $(window).on('load', function() { 21 adjustSlideButtonPosition(); 22 }); 23 24 // ã¦ã£ã³ãã¦ãªãµã¤ãºæã«åèª¿æ´ 25 $(window).resize(function() { 26 adjustSlideButtonPosition(); 27 }); 28});
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.