게이테스트/시작: 두 판 사이의 차이

리버티게임, 모두가 만들어가는 자유로운 게임
잔글편집 요약 없음
잔글 (테스트완료)
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{PluginX|사용자:BANIP/plugin/gaytest.js}}
{{PluginX|../app.js}}
{{#css:
{{#css:
     #bodyContent .game-question{
     #bodyContent .game-question{

2023년 7월 9일 (일) 23:26 기준 최신판

    $("#bodyContent .ng-option-wrapper").off().eq(0).on('mousemove ontouchstart', function(e) {
        let $this = $(this);
        let parentOffset = $this.offset();
        let relX = e.pageX - parentOffset.left;
        let relY = e.pageY - parentOffset.top;
        let moveX = (relX - $this.width() / 2) * -1;
        let moveY = (relY - $this.height() / 2) * -1;
        let interval = 150;
        if(Math.abs(moveY) < Math.abs(moveX)){
            moveX = moveX > 0 ? interval : (interval * -1)
        } else {
            moveY = moveY > 0 ? interval : (interval * -1)
        }
        $this.find(".fakelinks").css({
            transform: 'translate(' + moveX + 'px, ' + moveY + 'px)'
        });
    })
    .on('mouseleave ontouchend', function(e) {
        $(this).find(".fakelinks").css({
            transform: 'translate(0px, 0px)'
        });
    })
종종 내 의지와는 상관없이

동성에게 성적 흥분을 느낀다.
No