스크립트 한번만 봐주세요 ㅠ

스크립트 한번만 봐주세요 ㅠ

QA

스크립트 한번만 봐주세요 ㅠ

본문

안녕하세요.. 슬라이드 메뉴를 아래 사이트처럼 처음들어갔을때 

메뉴가 왼쪽에서 하나씩 슬라이드 되어서 들어오려는 기능을 구현하려고 하는데. 

http://www.cassiophoto.com/ 

 

스크립트를 넣었는데 작동이 되지 않네요.. 어디가 틀린걸까요. 

한번만 봐주시면 감사하겠습니다. 

 

제사이트는 여깁니다. 

s639247692.websitehome.co.uk 

 


<!-- 메뉴바 들어가는 곳  -->   
 
<div id="navContainer">
<div style="float:left; width:200px; background-color: white;"> 
<a href="index.html"><img src="img/1-2.jpg" width="150" height="34" /></a></div>
<ul>
<li class="borderTop" style="left: 0px;"><a href="index.html" rel="" id="current">Home</a></li>
<li class="borderTop" style="left: 0px;"><a href="index.html" rel="">Beauty </a></li>
<li class="borderTop" style="left: 0px;"><a href="index.html" rel="">Portrait</a></li>
<li class="borderTop" style="left: 0px;"><a href="index.html" rel="">Personal</a></li>
<li class="borderTop" style="left: 0px;"><a href="index.html" rel="">Film</a></li>
<li class="borderTop" style="left: 0px;"><a href="index.html" rel="">About</a></li>
<li class="borderTop" style="left: 0px;"><a href="index.html" rel="">Contact</a></li>
</ul>
</div>
<!-- 메뉴바 끝 -->
 
<!-- 스크립트부분 -->   
<script>
 
function navMenu() {
    jQ("#navContainer>ul>li>ul").hide();
    jQ("#navContainer li:has(ul)").hover(function () {
        jQ(this).children("a").click(function () {
            return !1
        })
    });
	
    jQ("#navContainer li").hover(function () {
        jQ(this).find("ul:first").css("display", "none").fadeIn(100).animate({top: "-=2"}, 100)}, function () {
        jQ(this).find("ul:first").fadeOut(0).animate({top: "+=2"}, 100)
    });
	
    jQ('#navContainer>ul>li').each(function(index) {
       jQ(this).delay( index * 300 ).animate({left: "+=200"}, function() {});
    });
}
 
</script> 
<!-- 스크립트 끝 -->  

이 질문에 댓글 쓰기 :

답변 1

jQ가 뭔가요? 처음보는 거라..ㅎㅎ

뭔가를 할당한건가요?

jQ = $("#선택자");

그게 아니라면 $로 ...


 

답변을 작성하시기 전에 로그인 해주세요.
전체 61
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT