PageSourceSearch

https://www.carelogue.co.kr/js/mobile_carousel_menu.js?1695010435

js carelogue.co.kr collected 2026-09-24 11:08:27 UTC 669 bytes, 24 lines download raw bytes

1var MOBILE_CAROUSEL_MENU = function($carousel_wrap_obj){
2    var init = function($carousel_wrap_obj){
3
4        var $carousel_objs =  $carousel_wrap_obj.find('._mobile_navigation_menu');
5
6        $carousel_objs.each(function(e){
7            makeCarousel($(this));
8        });
9    };
10  	var makeCarousel = function($carousel_obj){
11		var width = $carousel_obj.width();
12		$carousel_obj.find('._item').each(function(e){
13            var child_offset_left = Math.ceil($(this).offset().left);
14
15			if($(this).hasClass('active')){
16				if(width <= child_offset_left){
17					$carousel_obj.scrollLeft(child_offset_left)
18				}
19			}
20
21        });
22    };
23    init($carousel_wrap_obj);
24};

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.