모닝몰에서 가운데 정렬 퀵메뉴 소스 좀 알려주세요 정보
모닝몰에서 가운데 정렬 퀵메뉴 소스 좀 알려주세요본문
지금 한시간 넘게 검색 해서 소스 12가지는 적용해봤는데
가운데 정렬일때 퀵메뉴가 적용이 안되네요 (해상도에 따라 뒤틀르질 않나. 스크립트 에러 나지않나)
암튼 모닝몰로 해드와 메인이 인쿠르드식으로 따로 있는데
메인에다 퀵메뉴 소스를 적용했는데 계속 안되네요
자문 좀 구합니다.
가운데 정렬일때 퀵메뉴가 적용이 안되네요 (해상도에 따라 뒤틀르질 않나. 스크립트 에러 나지않나)
암튼 모닝몰로 해드와 메인이 인쿠르드식으로 따로 있는데
메인에다 퀵메뉴 소스를 적용했는데 계속 안되네요
자문 좀 구합니다.
추천
0
0
댓글 3개

퀵메뉴 익스프로 창으로 첨위치를 해서 나오니
head부분 첨위치로 고정시키면 되죠
style="position:relative;">
<div id="Layer1" style="position:absolute; left:0px; top:31px; width:142px; height:311px; z-index:1"> 퀵메뉴
</div>
이린석으로 테이블에 고정시키시면되죠 position 로 검색해보시면 더 자세히 알수있죠
근데 모닝몰이랑 전혀상관없는 질문인데요... 여긴 영카트인데요...
head부분 첨위치로 고정시키면 되죠
style="position:relative;">
<div id="Layer1" style="position:absolute; left:0px; top:31px; width:142px; height:311px; z-index:1"> 퀵메뉴
</div>
이린석으로 테이블에 고정시키시면되죠 position 로 검색해보시면 더 자세히 알수있죠
근데 모닝몰이랑 전혀상관없는 질문인데요... 여긴 영카트인데요...
제가 쓰는건 이건데... 적용이 될까 모르겠습니다.. 일반페이지에 쓰는거라..
위치는 <div id="layer_right" style='width:18px; height:50px; position:absolute; z-index:1; top: 319px; left:expression(document.body.clientWidth/2+450);'> 에서
수정해줍니다
<script language="javascript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
action = window.setInterval('heartBeat()',1);
function heartBeat() {
diffY = document.body.scrollTop;
diffX = 0;
if (diffY != lastScrollY) {
percent = .2 * (diffY - lastScrollY);
if (percent > 0) {
percent = Math.ceil(percent);
} else {
percent = Math.floor(percent);
}
document.all.layer_right.style.pixelTop += percent;
lastScrollY = lastScrollY + percent;
}
if (diffX != lastScrollX) {
percent = .2 * (diffX - lastScrollX);
if (percent > 0) {
percent = Math.ceil(percent);
} else {
percent = Math.floor(percent);
}
document.all.layer_right.style.pixelLeft += percent;
lastScrollY = lastScrollY + percent;
}
}
-->
</script>
<!-- 스크롤 퀵메뉴 끝 -->
<body>
<div id="layer_right" style='width:18px; height:50px; position:absolute; z-index:1; top: 319px; left:expression(document.body.clientWidth/2+450);'>
tyyy
</div>
<div align="center">퀵메뉴
</div>
</body>
위치는 <div id="layer_right" style='width:18px; height:50px; position:absolute; z-index:1; top: 319px; left:expression(document.body.clientWidth/2+450);'> 에서
수정해줍니다
<script language="javascript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
action = window.setInterval('heartBeat()',1);
function heartBeat() {
diffY = document.body.scrollTop;
diffX = 0;
if (diffY != lastScrollY) {
percent = .2 * (diffY - lastScrollY);
if (percent > 0) {
percent = Math.ceil(percent);
} else {
percent = Math.floor(percent);
}
document.all.layer_right.style.pixelTop += percent;
lastScrollY = lastScrollY + percent;
}
if (diffX != lastScrollX) {
percent = .2 * (diffX - lastScrollX);
if (percent > 0) {
percent = Math.ceil(percent);
} else {
percent = Math.floor(percent);
}
document.all.layer_right.style.pixelLeft += percent;
lastScrollY = lastScrollY + percent;
}
}
-->
</script>
<!-- 스크롤 퀵메뉴 끝 -->
<body>
<div id="layer_right" style='width:18px; height:50px; position:absolute; z-index:1; top: 319px; left:expression(document.body.clientWidth/2+450);'>
tyyy
</div>
<div align="center">퀵메뉴
</div>
</body>
그런데 이거 어디에 쓰는건데요?
저도 모닝몰 관심이 많은데 좋은거면 따라해보게요^^
저도 모닝몰 관심이 많은데 좋은거면 따라해보게요^^