마우스휠이벤트 등록 및 활용
//마우스휠이벤트 등록
if(window.attachEvent) {
window.attachEvent("onmousewheel" ,function(event){moveSheet(event);});
}
else if(window.addEventListener) {
if(nBrowserCheck == "Firefox")
window.addEventListener("DOMMouseScroll", function(event){moveSheet(event);}, false);
else
window.addEventListener("mousewheel", function(event){moveSheet(event);}, false);
}
//활용
if(evt.detail) {
WData = evt.detail;
if (WData <= -3) {
Arrow = "up";
}
else if (WData >= 3) {
Arrow = "down";
}
}
else {
WData = evt.wheelDelta;
if (WData >= 120) {
Arrow = "up";
}
else if (WData <= -120) {
Arrow = "down";
}
}
if(window.attachEvent) {
window.attachEvent("onmousewheel" ,function(event){moveSheet(event);});
}
else if(window.addEventListener) {
if(nBrowserCheck == "Firefox")
window.addEventListener("DOMMouseScroll", function(event){moveSheet(event);}, false);
else
window.addEventListener("mousewheel", function(event){moveSheet(event);}, false);
}
//활용
if(evt.detail) {
WData = evt.detail;
if (WData <= -3) {
Arrow = "up";
}
else if (WData >= 3) {
Arrow = "down";
}
}
else {
WData = evt.wheelDelta;
if (WData >= 120) {
Arrow = "up";
}
else if (WData <= -120) {
Arrow = "down";
}
}
댓글 5개
12년 전
잘봤습니다-
senseme
12년 전
감사합니다^^
쉽다zzz
12년 전
잘봤어요~
senseme
12년 전
감사합니다^^
12년 전
좋은 정보 감사합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 430 | 19년 전 | 4119 | ||
| 429 | 19년 전 | 3314 | ||
| 428 | 19년 전 | 4137 | ||
| 427 | 19년 전 | 3483 | ||
| 426 | 19년 전 | 3108 | ||
| 425 | 19년 전 | 3413 | ||
| 424 | 19년 전 | 2443 | ||
| 423 | 19년 전 | 2870 | ||
| 422 | 19년 전 | 2358 | ||
| 421 | 19년 전 | 3710 | ||
| 420 | 19년 전 | 4746 | ||
| 419 | 19년 전 | 3816 | ||
| 418 |
|
19년 전 | 1755 | |
| 417 | 19년 전 | 2758 | ||
| 416 | 19년 전 | 2399 | ||
| 415 | 19년 전 | 2612 | ||
| 414 | 19년 전 | 4418 | ||
| 413 |
|
19년 전 | 2615 | |
| 412 | 19년 전 | 3058 | ||
| 411 |
|
19년 전 | 2998 | |
| 410 |
|
19년 전 | 3697 | |
| 409 |
|
19년 전 | 3648 | |
| 408 |
|
19년 전 | 1862 | |
| 407 | 19년 전 | 2238 | ||
| 406 | 19년 전 | 2796 | ||
| 405 | 19년 전 | 2465 | ||
| 404 | 19년 전 | 4317 | ||
| 403 | 19년 전 | 3307 | ||
| 402 |
NeoGenesis
|
19년 전 | 4104 | |
| 401 | 19년 전 | 2615 | ||
| 400 |
|
19년 전 | 2505 | |
| 399 | 19년 전 | 2966 | ||
| 398 | 19년 전 | 2498 | ||
| 397 | 19년 전 | 2789 | ||
| 396 | 19년 전 | 2494 | ||
| 395 | 19년 전 | 3199 | ||
| 394 | 19년 전 | 1739 | ||
| 393 | 19년 전 | 3000 | ||
| 392 | 19년 전 | 2275 | ||
| 391 | 19년 전 | 2185 | ||
| 390 | 19년 전 | 2294 | ||
| 389 | 19년 전 | 2651 | ||
| 388 | 19년 전 | 2195 | ||
| 387 | 19년 전 | 4490 | ||
| 386 |
|
19년 전 | 2697 | |
| 385 |
|
19년 전 | 2497 | |
| 384 | 19년 전 | 3031 | ||
| 383 | 19년 전 | 3066 | ||
| 382 | 19년 전 | 3119 | ||
| 381 |
|
19년 전 | 2642 | |
| 380 |
|
19년 전 | 3029 | |
| 379 | 19년 전 | 2553 | ||
| 378 | 19년 전 | 2218 | ||
| 377 | 19년 전 | 2787 | ||
| 376 | 19년 전 | 2475 | ||
| 375 |
|
19년 전 | 2569 | |
| 374 | 19년 전 | 3827 | ||
| 373 | 19년 전 | 3280 | ||
| 372 | 19년 전 | 5002 | ||
| 371 |
세은아빠2
|
19년 전 | 2422 | |
| 370 | 19년 전 | 4506 | ||
| 369 | 19년 전 | 3111 | ||
| 368 | 19년 전 | 2915 | ||
| 367 | 19년 전 | 3738 | ||
| 366 | 19년 전 | 2665 | ||
| 365 | 19년 전 | 3751 | ||
| 364 | 19년 전 | 4023 | ||
| 363 | 19년 전 | 3454 | ||
| 362 | 19년 전 | 3491 | ||
| 361 | 19년 전 | 4112 | ||
| 360 |
hwatta
|
19년 전 | 2373 | |
| 359 | 19년 전 | 5115 | ||
| 358 | 19년 전 | 3662 | ||
| 357 | 19년 전 | 2611 | ||
| 356 |
sdesign1s
|
20년 전 | 2292 | |
| 355 | 20년 전 | 2768 | ||
| 354 | 20년 전 | 3031 | ||
| 353 | 20년 전 | 2801 | ||
| 352 |
|
20년 전 | 5781 | |
| 351 |
|
20년 전 | 2715 | |
| 350 |
|
20년 전 | 4302 | |
| 349 |
hwatta
|
20년 전 | 2193 | |
| 348 | 20년 전 | 7313 | ||
| 347 | 20년 전 | 2422 | ||
| 346 | 20년 전 | 3512 | ||
| 345 | 20년 전 | 4321 | ||
| 344 | 20년 전 | 2660 | ||
| 343 | 20년 전 | 3929 | ||
| 342 | 20년 전 | 3075 | ||
| 341 | 20년 전 | 4105 | ||
| 340 |
|
20년 전 | 5157 | |
| 339 |
|
20년 전 | 4241 | |
| 338 | 20년 전 | 5886 | ||
| 337 | 20년 전 | 2052 | ||
| 336 |
|
20년 전 | 3333 | |
| 335 |
|
20년 전 | 3552 | |
| 334 |
|
20년 전 | 2948 | |
| 333 |
hwatta
|
20년 전 | 2450 | |
| 332 | 20년 전 | 4664 | ||
| 331 | 20년 전 | 2285 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기