1var speed = 200; 2var scrollTop; 3 4function ShopListSetUp() { 5 jQuery("#pane-shoplist-modal").fadeIn(speed, function () { 6 // ç¾å¨ã®ã¹ã¯ãã¼ã«ä½ç½®ãåå¾ 7 scrollTop = jQuery(window).scrollTop(); 8 // bodyãåºå®ããã¹ã¯ãã¼ã«ä½ç½®ãä¿æ 9 jQuery('body').css({ 10 width: '100%', 11 overflow: 'hidden', 12 position: 'fixed', 13 top: -scrollTop + 'px' 14 }); 15 }); 16 17 jQuery("#pane-shoplist-modal, .shoplist__closeBtn").on("click", function () { 18 jQuery("#pane-shoplist-modal").fadeOut(speed, function () { 19 20 // bodyã®åºå®ãè§£é¤ããå ã®ã¹ã¯ãã¼ã«ä½ç½®ã«æ»ã 21 jQuery('body').css({ 22 width: '', 23 overflow: '', 24 position: '', 25 top: '' 26 }); 27 jQuery(window).scrollTop(scrollTop); 28 }); 29 }); 30 31 jQuery("#pane-shoplist-modal #pane-shoplist").on("click", function (e) { 32 e.stopPropagation(); 33 }); 34} 35 36// åå詳細ãã¼ã¸ 37jQuery(function() { 38 if (eclib.sys.isModeSmartPhone()) { 39 // éãããã¿ã³ã®ä½ç½®ã夿´ 40 jQuery("#pane-shoplist-modal").prepend(jQuery("#pane-shoplist-modal .shoplist__closeBtn")); 41 } 42 43 // åºèæ å ±ã®ãªã³ã¯ãåºèåã«é©ç¨ 44 jQuery('.shoplist_item_shopdetail_wrapper_ .shoplist_item_shopdetail_').each(function() { 45 var $detail = jQuery(this); 46 // ã.shoplist_item_shopdetail_ãå ã®aã¿ã°ãåå¾ 47 var $link = $detail.find('a').first(); 48 if ($link.length) { 49 // aã¿ã°ã®hrefã¨target屿§ãåå¾ 50 var href = $link.attr('href'); 51 var target = $link.attr('target'); 52 53 // ã.shoplist_item_shopdetail_ãç´ä¸ã®pã¿ã°ãåå¾ 54 var $pTag = $detail.find('> p').first(); 55 if ($pTag.length) { 56 // pã¿ã°ã®ä¸ã®ããã¹ããaã¿ã°ã§å²ã 57 var text = $pTag.text(); 58 var $newLink = jQuery('<a></a>').attr('href', href).text(text); 59 if (target) { 60 $newLink.attr('target', target); 61 } 62 $pTag.empty().append($newLink); 63 64 // å ã®aã¿ã°ãåé¤ 65 $link.remove(); 66 } 67 } 68 }); 69});
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.