Skip to content

Instantly share code, notes, and snippets.

@mycor
mycor / test.js
Created April 14, 2015 02:50
test
var HPG = {} || HPG;
HPG.SAMPLE_CODE = {};
// カルーセルの処理を定義
HPG.SAMPLE_CODE.CAROUSEL = {
init : function(){
// DOM情報の取得
var $carouselWrapper = $('#jsi-carousel-wrapper'),
$carouselContainer = $('#jsi-carousel-container'),
$carouselElements = $carouselContainer.children('li'),