<script language="javascript">
var iDelay = 750 // 지연시간
var sDisplayTimer = null, oLastItem
var iDelay = 750 // 지연시간
var sDisplayTimer = null, oLastItem
function showDetails(sDest) {
if (document.getElementById!=null) {
stopTimer()
dest = document.all[sDest]
if ((oLastItem!=null) && (oLastItem!=dest))
hideItem()
if (dest) {
dest.style.visibility = "visible"
}
oLastItem = dest
}
}
if (document.getElementById!=null) {
stopTimer()
dest = document.all[sDest]
if ((oLastItem!=null) && (oLastItem!=dest))
hideItem()
if (dest) {
dest.style.visibility = "visible"
}
oLastItem = dest
}
}
function stopTimer() {
clearTimeout(sDisplayTimer)
}
clearTimeout(sDisplayTimer)
}
function startTimer(el) {
stopTimer()
sDisplayTimer = setTimeout("hideItem()",iDelay)
}
stopTimer()
sDisplayTimer = setTimeout("hideItem()",iDelay)
}
function hideItem() {
if (oLastItem)
oLastItem.style.visibility="hidden"
}
if (oLastItem)
oLastItem.style.visibility="hidden"
}
function checkOver() {
if ((oLastItem) && (oLastItem==event.target)) {
stopTimer()
}
}
if ((oLastItem) && (oLastItem==event.target)) {
stopTimer()
}
}
function checkOut() {
if (oLastItem==event.target)
startTimer(event.target)
}
if (oLastItem==event.target)
startTimer(event.target)
}
document.onmouseover = checkOver
document.onmouseout = checkOut
</script>
document.onmouseout = checkOut
</script>
<td onmouseout="topmenu1.src='/images/topmenu_01.gif';startTimer(this)" onmouseover="showDetails('submenu_1');topmenu1.src='/images/topmenur_01.gif'"><a href="/product/list.asp" alt="제품전체보기"><img src="/images/topmenu_01.gif" name="topmenu1"></a></td>
자바스크립트 메뉴레이어 입니다..
다른곳에서 소스를 퍼와서.. 브라우져 호환성에 맞춰서 약간 손을 보았습니다..
http://www.cube333.co.kr 이사이트 상단 메뉴에 사용했던 메뉴레이어입니다.
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5227 |
프로프리랜서
|
12년 전 | 1463 | |
| 5226 |
프로프리랜서
|
12년 전 | 1189 | |
| 5225 |
프로프리랜서
|
12년 전 | 1460 | |
| 5224 |
프로프리랜서
|
12년 전 | 3564 | |
| 5223 | 12년 전 | 924 | ||
| 5222 |
|
12년 전 | 5103 | |
| 5221 |
제이티37
|
12년 전 | 1199 | |
| 5220 |
songsinica
|
12년 전 | 1194 | |
| 5219 |
|
12년 전 | 3329 | |
| 5218 |
스누피사랑
|
12년 전 | 5267 | |
| 5217 | 12년 전 | 1837 | ||
| 5216 | 12년 전 | 3036 | ||
| 5215 | 12년 전 | 3152 | ||
| 5214 |
|
12년 전 | 5663 | |
| 5213 |
|
12년 전 | 1953 | |
| 5212 | 12년 전 | 2855 | ||
| 5211 | 12년 전 | 827 | ||
| 5210 | 12년 전 | 2355 | ||
| 5209 |
takumi22
|
12년 전 | 1233 | |
| 5208 |
개초보제이
|
12년 전 | 777 | |
| 5207 | 12년 전 | 3134 | ||
| 5206 | 12년 전 | 1849 | ||
| 5205 | 12년 전 | 2862 | ||
| 5204 |
lilyosia
|
12년 전 | 1796 | |
| 5203 | 12년 전 | 1053 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기