이거으용좀하고싶은데;;;히히
<script language="JavaScript">
<!--따라다니는 레이어
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
<div id="floater" style="position:relative; left:0px; top:0px; width:120px; z-index:1">
<iframe id="sbaExpose" src="http://sba.about.co.kr/SbaExpose.aspx?eType=sba006&channelId=M011076001" scrolling="no" border="0" marginWidth="0" marginHeight="0" frameBorder="0" width="120px" height="600px"></iframe>
</div>
<!--따라다니는 레이어
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
<div id="floater" style="position:relative; left:0px; top:0px; width:120px; z-index:1">
<iframe id="sbaExpose" src="http://sba.about.co.kr/SbaExpose.aspx?eType=sba006&channelId=M011076001" scrolling="no" border="0" marginWidth="0" marginHeight="0" frameBorder="0" width="120px" height="600px"></iframe>
</div>
이거 응용해서
<SCRIPT type='text/javascript' src='http://rsense-ad.realclick.co.kr/rsense/rsense_ad.js?rid=491652325237&stamp=1323889006' charset='euc-kr'></SCRIPT>
이걸넣고싶은데;; src=바꿔넣어도 안되고 스크립트 div랑 바꿔도 안되고 참 어렵군요~~
광고가 가리지도않고 좋길래 ㅎㅎ 이거 응용할수있게 하는방법좀 알려주세요~~
댓글 4개
커피는막심
13년 전
질답은 질답 게시판으로 게시판 용도에 맞게 글을 작성하셔야 ..
질문 답변을 하라고 만들어 놓은게 질답 게시판이죠 ..
질문 답변을 하라고 만들어 놓은게 질답 게시판이죠 ..
13년 전
자유게시판에서 옮겨 놓습니다.
새로운나라
13년 전
네.. 열심히 응용 하세요~
cshop
13년 전
레이어는 notepad/text editor 로 하실수 있는 작업이 아닙니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7830 | 10년 전 | 476 | ||
| 7829 |
|
10년 전 | 662 | |
| 7828 | 10년 전 | 586 | ||
| 7827 | 10년 전 | 484 | ||
| 7826 | 10년 전 | 505 | ||
| 7825 | 10년 전 | 547 | ||
| 7824 | 10년 전 | 497 | ||
| 7823 | 10년 전 | 435 | ||
| 7822 | 10년 전 | 411 | ||
| 7821 | 10년 전 | 361 | ||
| 7820 | 10년 전 | 372 | ||
| 7819 |
|
10년 전 | 776 | |
| 7818 | 10년 전 | 437 | ||
| 7817 | 10년 전 | 614 | ||
| 7816 | 10년 전 | 454 | ||
| 7815 | 10년 전 | 656 | ||
| 7814 | 10년 전 | 489 | ||
| 7813 | 10년 전 | 440 | ||
| 7812 | 10년 전 | 450 | ||
| 7811 | 10년 전 | 429 | ||
| 7810 | 10년 전 | 631 | ||
| 7809 | 10년 전 | 566 | ||
| 7808 | 10년 전 | 448 | ||
| 7807 | 10년 전 | 457 | ||
| 7806 |
프로그래머7
|
10년 전 | 1373 | |
| 7805 | 10년 전 | 1321 | ||
| 7804 |
zahir1312
|
10년 전 | 815 | |
| 7803 |
|
10년 전 | 1421 | |
| 7802 | 10년 전 | 518 | ||
| 7801 | 10년 전 | 898 | ||
| 7800 | 10년 전 | 1117 | ||
| 7799 | 10년 전 | 598 | ||
| 7798 | 10년 전 | 546 | ||
| 7797 | 10년 전 | 572 | ||
| 7796 | 10년 전 | 405 | ||
| 7795 | 10년 전 | 557 | ||
| 7794 | 10년 전 | 595 | ||
| 7793 | 10년 전 | 1097 | ||
| 7792 | 10년 전 | 528 | ||
| 7791 | 10년 전 | 616 | ||
| 7790 | 10년 전 | 550 | ||
| 7789 |
fbastore
|
10년 전 | 1503 | |
| 7788 | 10년 전 | 605 | ||
| 7787 | 10년 전 | 463 | ||
| 7786 | 10년 전 | 668 | ||
| 7785 | 10년 전 | 642 | ||
| 7784 | 10년 전 | 701 | ||
| 7783 | 10년 전 | 519 | ||
| 7782 | 10년 전 | 545 | ||
| 7781 | 10년 전 | 951 | ||
| 7780 | 10년 전 | 857 | ||
| 7779 | 10년 전 | 806 | ||
| 7778 | 10년 전 | 397 | ||
| 7777 | 10년 전 | 515 | ||
| 7776 | 10년 전 | 508 | ||
| 7775 | 10년 전 | 442 | ||
| 7774 | 10년 전 | 656 | ||
| 7773 | 10년 전 | 412 | ||
| 7772 | 10년 전 | 793 | ||
| 7771 | 10년 전 | 442 | ||
| 7770 | 10년 전 | 682 | ||
| 7769 | 10년 전 | 442 | ||
| 7768 | 10년 전 | 662 | ||
| 7767 | 10년 전 | 1215 | ||
| 7766 | 10년 전 | 551 | ||
| 7765 | 10년 전 | 607 | ||
| 7764 |
잘살아보자
|
10년 전 | 461 | |
| 7763 |
|
10년 전 | 1510 | |
| 7762 |
Tosea
|
10년 전 | 1097 | |
| 7761 | 10년 전 | 712 | ||
| 7760 |
잘살아보자
|
10년 전 | 778 | |
| 7759 |
잘살아보자
|
10년 전 | 616 | |
| 7758 |
잘살아보자
|
10년 전 | 681 | |
| 7757 | 10년 전 | 1304 | ||
| 7756 |
ITBANK
|
10년 전 | 1306 | |
| 7755 | 10년 전 | 1959 | ||
| 7754 | 10년 전 | 1111 | ||
| 7753 | 10년 전 | 932 | ||
| 7752 | 10년 전 | 1432 | ||
| 7751 |
잘살아보자
|
10년 전 | 594 | |
| 7750 |
잘살아보자
|
10년 전 | 529 | |
| 7749 |
잘살아보자
|
10년 전 | 552 | |
| 7748 |
잘살아보자
|
10년 전 | 572 | |
| 7747 |
잘살아보자
|
10년 전 | 645 | |
| 7746 |
잘살아보자
|
10년 전 | 713 | |
| 7745 |
잘살아보자
|
10년 전 | 958 | |
| 7744 |
잘살아보자
|
10년 전 | 450 | |
| 7743 | 10년 전 | 980 | ||
| 7742 |
starbros
|
10년 전 | 874 | |
| 7741 |
잘살아보자
|
10년 전 | 721 | |
| 7740 |
잘살아보자
|
10년 전 | 608 | |
| 7739 |
잘살아보자
|
10년 전 | 499 | |
| 7738 |
잘살아보자
|
10년 전 | 573 | |
| 7737 |
잘살아보자
|
10년 전 | 553 | |
| 7736 |
잘살아보자
|
10년 전 | 574 | |
| 7735 |
잘살아보자
|
10년 전 | 903 | |
| 7734 |
잘살아보자
|
10년 전 | 461 | |
| 7733 |
잘살아보자
|
10년 전 | 572 | |
| 7732 |
잘살아보자
|
10년 전 | 740 | |
| 7731 |
잘살아보자
|
10년 전 | 662 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기