테스트 사이트 - 개발 중인 베타 버전입니다

갤러리 마우스 오버 효과 변경시 어디를 수정해야 되나요? 채택완료

눈물젖은빵 7년 전 조회 1,883

갤러리 게시판의 리스트에서 마우스를 올려놔야 제목과 내용이 뜨도록 되어 있는데

마우스를 가져다 대지 않아도 제목과 내용이 떠 있도록 하고 싶어요

이럴 경우에는 list.skin.php 파일에서 수정하나요? 아래 링크 걸어놨는데 조언 부탁드려요

 

https://sir.kr/g5_skin/10128?sca=%EA%B0%A4%EB%9F%AC%EB%A6%AC&sfl=wr_subject%7C%7Cwr_content&stx=%EB%A7%88%EC%9A%B0%EC%8A%A4+%EC%98%A4%EB%B2%84&page=2">https://sir.kr/g5_skin/10128?sca=%EA%B0%A4%EB%9F%AC%EB%A6%AC&sfl=wr_subject%7C%7Cwr_content&stx=%EB%A7%88%EC%9A%B0%EC%8A%A4+%EC%98%A4%EB%B2%84&page=2

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

<script>
$(document).ready(function () {

    // transition effect
    style = 'easeOutQuart';

    // if the mouse hover the image
    $('.photo').hover(
        function() {
            //display heading and caption
            $(this).children('div:first').stop(false,true).animate({top:0},{duration:200, easing: style});
            $(this).children('div:last').stop(false,true).animate({bottom:0},{duration:200, easing: style});
        },

        function() {
            //hide heading and caption
            $(this).children('div:first').stop(false,true).animate({top:-50},{duration:200, easing: style});
            $(this).children('div:last').stop(false,true).animate({bottom:-50},{duration:200, easing: style});
        }
    );

});
</script>

 

이부분을 수정 하면 됩니다

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인