이거으용좀하고싶은데;;;히히
<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 로 하실수 있는 작업이 아닙니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 417 | ||
| 8029 | 9년 전 | 340 | ||
| 8028 | 9년 전 | 298 | ||
| 8027 | 9년 전 | 313 | ||
| 8026 | 9년 전 | 383 | ||
| 8025 | 9년 전 | 411 | ||
| 8024 | 9년 전 | 400 | ||
| 8023 | 9년 전 | 426 | ||
| 8022 | 9년 전 | 341 | ||
| 8021 | 9년 전 | 365 | ||
| 8020 | 9년 전 | 367 | ||
| 8019 | 9년 전 | 380 | ||
| 8018 | 9년 전 | 481 | ||
| 8017 | 9년 전 | 563 | ||
| 8016 | 9년 전 | 389 | ||
| 8015 | 9년 전 | 423 | ||
| 8014 | 9년 전 | 349 | ||
| 8013 | 9년 전 | 272 | ||
| 8012 | 9년 전 | 274 | ||
| 8011 | 9년 전 | 480 | ||
| 8010 | 9년 전 | 333 | ||
| 8009 | 9년 전 | 349 | ||
| 8008 | 9년 전 | 320 | ||
| 8007 | 9년 전 | 466 | ||
| 8006 | 9년 전 | 505 | ||
| 8005 |
|
9년 전 | 999 | |
| 8004 | 9년 전 | 387 | ||
| 8003 | 9년 전 | 457 | ||
| 8002 | 9년 전 | 353 | ||
| 8001 |
|
9년 전 | 698 | |
| 8000 | 9년 전 | 458 | ||
| 7999 | 9년 전 | 408 | ||
| 7998 | 9년 전 | 467 | ||
| 7997 | 9년 전 | 338 | ||
| 7996 | 9년 전 | 567 | ||
| 7995 | 9년 전 | 523 | ||
| 7994 | 9년 전 | 406 | ||
| 7993 | 9년 전 | 476 | ||
| 7992 | 9년 전 | 548 | ||
| 7991 | 9년 전 | 297 | ||
| 7990 | 9년 전 | 327 | ||
| 7989 | 9년 전 | 333 | ||
| 7988 | 9년 전 | 762 | ||
| 7987 | 9년 전 | 465 | ||
| 7986 | 9년 전 | 466 | ||
| 7985 | 9년 전 | 547 | ||
| 7984 | 9년 전 | 465 | ||
| 7983 | 9년 전 | 700 | ||
| 7982 | 9년 전 | 559 | ||
| 7981 | 9년 전 | 517 | ||
| 7980 | 9년 전 | 539 | ||
| 7979 | 9년 전 | 529 | ||
| 7978 | 9년 전 | 491 | ||
| 7977 | 9년 전 | 436 | ||
| 7976 | 9년 전 | 894 | ||
| 7975 | 9년 전 | 407 | ||
| 7974 | 9년 전 | 453 | ||
| 7973 | 9년 전 | 634 | ||
| 7972 | 9년 전 | 426 | ||
| 7971 | 9년 전 | 500 | ||
| 7970 | 9년 전 | 343 | ||
| 7969 | 9년 전 | 585 | ||
| 7968 | 9년 전 | 431 | ||
| 7967 | 9년 전 | 413 | ||
| 7966 | 9년 전 | 420 | ||
| 7965 |
|
9년 전 | 1047 | |
| 7964 | 9년 전 | 437 | ||
| 7963 | 9년 전 | 446 | ||
| 7962 | 9년 전 | 446 | ||
| 7961 |
전갈자리남자
|
9년 전 | 540 | |
| 7960 | 9년 전 | 1008 | ||
| 7959 | 9년 전 | 586 | ||
| 7958 | 9년 전 | 437 | ||
| 7957 | 9년 전 | 395 | ||
| 7956 | 9년 전 | 393 | ||
| 7955 | 9년 전 | 497 | ||
| 7954 | 9년 전 | 433 | ||
| 7953 | 9년 전 | 482 | ||
| 7952 | 9년 전 | 403 | ||
| 7951 | 9년 전 | 533 | ||
| 7950 | 9년 전 | 431 | ||
| 7949 | 9년 전 | 422 | ||
| 7948 | 9년 전 | 359 | ||
| 7947 | 9년 전 | 977 | ||
| 7946 | 9년 전 | 492 | ||
| 7945 | 9년 전 | 434 | ||
| 7944 | 9년 전 | 498 | ||
| 7943 | 9년 전 | 430 | ||
| 7942 | 9년 전 | 441 | ||
| 7941 | 9년 전 | 431 | ||
| 7940 | 9년 전 | 931 | ||
| 7939 | 9년 전 | 423 | ||
| 7938 | 9년 전 | 441 | ||
| 7937 | 9년 전 | 328 | ||
| 7936 | 9년 전 | 913 | ||
| 7935 | 9년 전 | 519 | ||
| 7934 | 9년 전 | 508 | ||
| 7933 | 9년 전 | 627 | ||
| 7932 | 9년 전 | 566 | ||
| 7931 | 9년 전 | 625 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기