var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); /** * 움직이는 배너 Jquery Plug-in * @author cafe24 */ ;(function($){ $.fn.floatBanner = function(options) { options = $.extend({}, $.fn.floatBanner.defaults , options); return this.each(function() { var aPosition = $(this).position(); var node = this; $(window).scroll(function() { var _top = $(document).scrollTop(); _top = (aPosition.top < _top) ? _top : aPosition.top; setTimeout(function () { $(node).stop().animate({top: _top}, options.animate); }, options.delay); }); }); }; $.fn.floatBanner.defaults = { 'animate' : 500, 'delay' : 500 }; })(jQuery); /** * 문서 구동후 시작 */ $(document).ready(function(){ $('#banner, #quick').floatBanner(); }); /** * 썸네일 이미지 엑박일경우 기본값 설정 */ $(window).load(function() { $("img.thumb,img.ThumbImage,img.BigImage").each(function($i,$item){ var $img = new Image(); $img.onerror = function () { $item.src="http://img.echosting.cafe24.com/thumb/img_product_big.gif"; } $img.src = this.src; }); }); //window popup script function winPop(url) { window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no"); } /** * document.location.href split * return array Param */ function getQueryString(sKey) { var sQueryString = document.location.search.substring(1); var aParam = {}; if (sQueryString) { var aFields = sQueryString.split("&"); var aField = []; for (var i=0; i'+sPage+''); } else { var sHref = $(this).attr('href'); $(this).parent().html(''+sPage+''); } }); } $(document).ready(function(){ // tab $.eTab = function(ul){ $(ul).find('a').click(function(){ var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'), _target = $(this).attr('href'), _siblings = '.' + $(_target).attr('class'); $(_target).show().siblings(_siblings).hide(); return false }); } if ( window.call_eTab ) { call_eTab(); }; }); $.fn.extend({ center: function() { this.each(function() { var $this = $(this), $w = $(window); $this.css({ position: "absolute", top: ~~(($w.height() - $this.outerHeight()) / 2) + $w.scrollTop() + "px", left: ~~(($w.width() - $this.outerWidth()) / 2) + $w.scrollLeft() + "px" }); }); return this; } }); $(function() { var $container = function(){/*
'); */}.toString().slice(14,-3); $('body') .append($('
')) .append($($container)); function closeModal () { $('#modalContainer').hide(); $('#modalBackpanel').hide(); } $('#modalBackpanel').click(closeModal); zoom = function ($piProductNo, $piCategoryNo, $piDisplayGroup) { var $url = '/product/image_zoom.html?product_no=' + $piProductNo + '&cate_no=' + $piCategoryNo + '&display_group=' + $piDisplayGroup; $('#modalContent').attr('src', $url); $('#modalContent').bind("load",function(){ $(".header .close",this.contentWindow.document.body).bind("click", closeModal); }); $('#modalBackpanel').css({width:$("body").width(),height:$("body").height(),opacity:.4}).show(); $('#modalContainer').center().show(); } }); /** * 카테고리 마우스 오버 이미지 * 카테고리 서브 메뉴 출력 */ $(document).ready(function(){ var methods = { aCategory : [], aSubCategory : {}, get: function() { $.ajax({ url : '/exec/front/Product/SubCategory', dataType: 'json', success: function(aData) { if (aData == null || aData == 'undefined') return; for (var i=0; i'); $(methods.aSubCategory[iCateNo]).each(function() { aHtml.push('
  • '+this.name+'
  • '); }); aHtml.push(''); var offset = $(overNode).offset(); $('
    ') .appendTo(overNode) .html(aHtml.join('')) .find('li').mouseover(function(e) { $(this).addClass('over'); }).mouseout(function(e) { $(this).removeClass('over'); }); }, close: function() { $('.sub-category').remove(); } }; methods.get(); $('.xans-layout-category li').mouseenter(function(e) { var $this = $(this).addClass('on'), iCateNo = Number(methods.getParam($this.find('a').attr('href'), 'cate_no')); if (!iCateNo) { return; } methods.show($this, iCateNo); }).mouseleave(function(e) { $(this).removeClass('on'); methods.close(); }); }); /** * @class * 이미지 롤링를 처리 합니다. * * @example * $.fn.roate.defaults = { * 'duration' : '3000', * 'stopButton' : '#stopButton', * 'playButton' : '#playButton', * 'prevButton' : '#prevButton', * 'nextButton' : '#nextButton', * 'movement' : 'left', * 'scroll' : 1, * 'autoStart' : false, * 'interval' : 2000 * }; * */ ;(function($){ $.fn.roate = function( options ) { var opts = $.extend( {}, $.fn.roate.defaults, options ), containerBox = [], $this = $(this), defaultWidth, defaultHeight, curentIndex = 0, distance, childLength, isAnimate = false, timer = null; var pm = {} var _init = function() { _setDefaultSize(); _setDistance(); _displayOverFlow(); _setContainerBox(); if(childLength > 1) { _setEventBind(); } else { _displayPlayButton(); } } , _setDefaultSize = function() { defaultWidth = opts.defaultWidth || $this.children().eq(0).width(); defaultHeight = opts.defaultHeight || $this.children().eq(0).height(); childLength = $this.children().length; if ( opts.movement == 'top' ) { defaultHeight = defaultHeight * parseInt(opts.scroll,10); } else { defaultWidth = defaultWidth * parseInt(opts.scroll,10); $this.children().css('float','left'); } } , _setDistance = function() { if ( opts.movement == 'top') { distance = defaultHeight; } else { distance = defaultWidth; } } , _displayOverFlow = function() { var $wrap = $("
    ").css({ 'overflow' : 'hidden', 'position' : 'relative', 'width' : defaultWidth, 'height' : opts.defaultHeight || defaultHeight }); $this.wrap( $wrap ); $this.css({'position':'absolute', 'left': '0', 'top' : '0' }); } , _setContainerBox = function() { $this.children().each(function(i){ containerBox[ containerBox.length ] = this; }); } , _setEventBind = function() { $(options.nextButton).bind('click.roate', function(){ pm.next(); }); $(options.prevButton).bind('click.roate', function(){ pm.prev(); }); $(options.playButton).bind('click.roate', function(){ _stopTimer(); pm.play(); }); $(options.stopButton).bind('click.roate', function(){ pm.stop(); }); $this.hover( function(){ pm.stop(); }, function(){ _stopTimer(); pm.play(); }); } , _addCurrent = function() { curentIndex++; if ( curentIndex >= childLength ) { curentIndex = 0; } }, _minusCurrent = function() { curentIndex--; if ( curentIndex < 0 ) { curentIndex = childLength -1; } } , _isAmimate = function() { if ( isAnimate ) { return true; } isAnimate = true; return false; }, _stopTimer = function(){ if ( timer ) { clearInterval( timer ); _displayPlayButton(); } }, _displayPlayButton = function() { $(opts.playButton).css('display', 'inline'); $(opts.stopButton).css('display', 'none'); }, _displayStopButton = function() { $(opts.playButton).css('display', 'none'); $(opts.stopButton).css('display', 'inline'); }, _setOpacity = function ( style ) { if ( opts.opacity ) { style['display'] = 'none'; style['opacity'] = 1; } return style; }; pm.next = function() { this.nextMovement( $(containerBox[ curentIndex ]) ); }; pm.prev = function() { this.prevMovement( $(containerBox[ curentIndex ]) ); }; pm.play = function() { timer = setInterval(function(){ pm.next() }, opts.interval); _displayStopButton(); }; pm.stop = function() { _stopTimer(); }; pm.nextMovement = function ($el) { var moveDistance = $this.offset().left - $el.offset().left - distance; if ( _isAmimate() === false ) { var moveType = {},setCss = {} moveType[opts.movement] = moveDistance; if ( opts.opacity) { moveType['opacity'] = 0; } setCss[opts.movement] = parseInt(moveDistance,10) + parseInt(distance,10); setCss = _setOpacity( setCss ); $this.animate(moveType, opts.duration, function(){ $this.children(':last').after($el); $this.css(setCss); if ( opts.opacity ) { $this.fadeIn(opts.duration); } isAnimate = false; _addCurrent(); }); } } pm.prevMovement = function ($el) { var moveDistance = $this.offset().left - $el.offset().left + distance; if ( _isAmimate() === false ) { var moveType = {},setCss = {} moveType[opts.movement] = moveDistance; if ( opts.opacity ) { moveType['opacity'] = 0; } setCss[opts.movement] = parseInt(moveDistance,10) - parseInt(distance,10); setCss = _setOpacity( setCss ); if ( opts.movement == 'top' ) { $this.css('top',-defaultHeight); moveType[opts.movement] = 0; $this.children(':first').before($this.children(':last')); } $this.animate(moveType, opts.duration, function(){ if ( opts.movement == 'left' ) { $this.children(':first').before($this.children(':last')); } $this.css(setCss); if ( opts.opacity ) { $this.fadeIn(opts.duration); } _minusCurrent(); isAnimate = false; }); } } _init(); if ( opts.autoStart && childLength > 1) { pm.play(); } return pm; }; $.fn.roate.defaults = { 'duration' : '3000', 'stopButton' : '#stopButton', 'playButton' : '#playButton', 'prevButton' : '#prevButton', 'nextButton' : '#nextButton', 'movement' : 'left', 'scroll' : 1, 'autoStart' : false, 'interval' : 2000, 'opacity' : false }; })(jQuery); $(document).ready(function(){ $(".xans-layout-project ul").roate({ 'duration' : '1000', 'interval' : 3000, 'stopButton' : '#stopButton-project', 'playButton' : '#playButton-project', 'prevButton' : '#prevButton-project', 'nextButton' : '#nextButton-project', 'defaultWidth': '180', 'defaultHeight' : '180', 'movement' : 'top', 'opacity' : false, 'autoStart' : true }); }); } /* FILE ARCHIVED ON 13:48:36 Apr 02, 2019 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 06:26:34 Feb 05, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 1.046 exclusion.robots: 0.026 exclusion.robots.policy: 0.01 esindex: 0.015 cdx.remote: 30.239 LoadShardBlock: 369.611 (3) PetaboxLoader3.datanode: 391.594 (4) load_resource: 299.697 PetaboxLoader3.resolve: 248.259 */