ek른페이지처럼 lnb를 먹게 하고 싶습니다.

ek른페이지처럼 lnb를 먹게 하고 싶습니다.

QA

ek른페이지처럼 lnb를 먹게 하고 싶습니다.

답변 1

본문

문제는 해당 글내용에 lnb가 적용되어야 한다는겁니다.

https://woosungent.com/gnuboard/bbs/board.php?bo_table=product06

 

여기처럼 나오게 하려면

https://woosungent.com/greeting.php

 소스를 어디에 넣어야 할까요?

이 질문에 댓글 쓰기 :

답변 1


<script>
    $(function () {
    const url = window.location.pathname,
        urlRegExp = new RegExp(url.replace(/\/$/, '') + "$");
    $('.sub_menu_wrap ul li a').each(function () {
        if (urlRegExp.test(this.href.replace(/\/$/, '')) && url != "/")  {
            $(this).addClass('active');
        }
    });
});
</script>

 

lnb 밑에 해보시면 class가 붙을텐데 여기에 스타일 줘보시겠어요?

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 129,103
© SIRSOFT
현재 페이지 제일 처음으로