読者です 読者をやめる 読者になる 読者になる

').size(unit * r, unit * r).after(loop); loopFlag = !loopFlag; } focusCircle.stop().animate(450, '>', 250).opacity(0.5).after(loop); pressedCircle.stop().animate(200).size(unit * radius, unit * radius).opacity(0); } function onBlur() { focusCircle.stop().animate(800).opacity(0).size(unit * radius, unit * radius); } function onPress(event) { var innerRadius = radius - 12; var outerRadius = radius + 4; pressedCircle.center(event.layerX, event.layerY).opacity(0.2).size(unit * innerRadius, unit * innerRadius) .animate(600, '>').size(unit * outerRadius, unit * outerRadius).opacity(0); focusCircle.stop().animate(200).opacity(0).size(unit * radius, unit * radius); } // イベント設定 group.click(onPress); group.touchstart(onFocus); group.touchend(onBlur); group.mouseover(onFocus); group.mouseout(onBlur); />