Skip to content

GuitarMania

2001.03.19 22:55

글자 계속 바꿔보자~!

(*.55.91.229) 조회 수 8656 댓글 0



















 






<html><br><head><br></head><br><body><br><div
id="txtObj" style="width:411px; height:50px; position:absolute;
left:179px; top:69px; z-index:10;"></div>
<br><script
language="javascript"><br>var txt=new Array();<br>
txt[0]='<span
style=color:deeppink;filter:shadow(color=pink);height:10px><font
face=가을체>http://www.nblood.com</font></span>';<br>txt[1]='<span
style=color:white;filter:glow(color=crimson);height:10><h3>앙...오널
넘 추버염... ㅜ.ㅜ</span></h3>';<br>txt[2]='<span
style="font:10pt 굴림;color:red">모기 얼어죽을꺼 가타여...</span>';<br>txt[3]='<span
style=color=white;filter=glow(color=5f9ea0);height=10px><h3>욜분덜앙...감기저심^^*</h3></span>';<br>txt[4]='<span
style=color:yellow;filter:glow(color=green);height:10px><h3><b>난
튀는게 저앙~ ㄲㅑ ~~</b></h3></span>';
<br>var
index=-1;<br>var interval=5;<br>function txtBanner(){<br>index ++;<br>if
(index==0)<br>txtObj.innerHTML=txt[index];<br>else if(index==1)<br>txtObj.innerHTML=txt[index];<br>else
if(index==2)<br>txtObj.innerHTML=txt[index];<br>else if(index==3)<br>txtObj.innerHTML=txt[index];<br>else
{<br>txtObj.innerHTML=txt[index];<br>index=-1;<br>}<br>window.setTimeout("txtBanner();",interval*500);<br>}<br>window.onload=txtBanner;<br></script>
<br></body><br></html>



안냐세염...^^*  이번엔 일정시간을 두고 바뀌는
텍스트예요.<br>글자크기나 색깔 효과까지 맘대로 줄 수 있어여... 저쳐???


<div
id="txtObj" style="width:500px; height:50px; position:absolute;
left:130px; top:100px; z-index:10;"></div><br>
이건
레이어 태그예요.  이 레이어 안에 글자가 떠요.  
left:130px; top:100px; 이 수치로 위치조정


그리고 진한 분홍글씨에서 글자를
바꾸시면 되어염..<br>
txt[0]='<span
style="font:크기 글씨체;color:색깔">나타낼 글자</span>';
<br>위에
소스에서 보시면 아시겠죠?     여기에서 사용한
필터효과 글씨는 예전에 알려드렸어요. (27번글)


window.setTimeout("txtBanner();",interval*500);<br>문장이
바뀌는 시간이예염... 수치가 클수록 시간간격은 커집니다.<br><br>현재
txt[0] ~ txt[4] 까지 5개의 문장으로 했어요.<br>문장을 줄이거나 늘리시려면
조건문을 조금 수정하셔야 해요.   최대한 쉽게 설명해 볼께염...
잘 보세요...^^;


-----------------------------------------------------------------------------------------------------------


만약 문장이 4개일 때...txt[0]부터
txt[3] 까지 이고 조건문에서 <br>else
if(index==3)<br>txtObj.innerHTML=txt[index];  이 부분을 지워주세요.
  아래 소스<br>
<br><script
language="javascript"><br>var txt=new Array();<br>txt[0]='<span
style=color:deeppink;filter:shadow(color=pink);height:10px><font
face=가을체>http://www.nblood.com</font></span>';<br>txt[1]='<span
style=color:white;filter:glow(color=crimson);height:10><h3>앙...오널
넘 추버염... ㅜ.ㅜ</span></h3>';<br>txt[2]='<span
style="font:10pt 굴림;color:red">모기 얼어죽을꺼 가타여...</span>';<br>txt[3]='<span
style=color=white;filter=glow(color=5f9ea0);height=10px><h3>욜분덜앙...감기저심^^*</h3></span>';<br>var
index=-1;<br>var interval=4;<br>function txtBanner(){<br>index ++;<br>if
(index==0)<br>txtObj.innerHTML=txt[index];<br>else if(index==1)<br>txtObj.innerHTML=txt[index];<br>else
if(index==2)<br>txtObj.innerHTML=txt[index];<br>else
{<br>txtObj.innerHTML=txt[index];<br>index=-1;<br>}<br>window.setTimeout("txtBanner();",interval*500);<br>}<br>window.onload=txtBanner;<br></script>


-----------------------------------------------------------------------------------------------------------


만약 문장이 6개일 때...txt[0]부터
txt[5] 까지 이고 조건문에서 <br>else
if(index==4)<br>txtObj.innerHTML=txt[index];  이 부분을 추가해
주세요.   아래 소스<br>
<br><script
language="javascript"><br>var txt=new Array();<br>txt[0]='<span
style=color:deeppink;filter:shadow(color=pink);height:10px><font
face=가을체>http://www.nblood.com</font></span>';<br>txt[1]='<span
style=color:white;filter:glow(color=crimson);height:10><h3>앙...오널
넘 추버염... ㅜ.ㅜ</span></h3>';<br>txt[2]='<span
style="font:10pt 굴림;color:red">모기 얼어죽을꺼 가타여...</span>';<br>txt[3]='<span
style=color=white;filter=glow(color=5f9ea0);height=10px><h3>욜분덜앙...감기저심^^*</h3></span>';<br>txt[4]='<span
style="font:10pt 굴림;color:red">모기 얼어죽을꺼 가타여...</span>';<br>txt[5]='<span
style="font:10pt 굴림;color:red">모기 얼어죽을꺼 가타여...</span>';<br>var
index=-1;<br>var interval=6;<br>function txtBanner(){<br>index ++;<br>if
(index==0)<br>txtObj.innerHTML=txt[index];<br>else if(index==1)<br>txtObj.innerHTML=txt[index];<br>else
if(index==2)<br>txtObj.innerHTML=txt[index];<br>else
if(index==3)<br>txtObj.innerHTML=txt[index];<br>else
if(index==4)<br>txtObj.innerHTML=txt[index];<br>else
{<br>txtObj.innerHTML=txt[index];<br>index=-1;<br>}<br>window.setTimeout("txtBanner();",interval*500);<br>}<br>window.onload=txtBanner;<br></script>



snowdrowb@nblood.com<br>http://www.nblood.com





?

  1. 국가가 우리를 제한하려 한다면 우리는 저항해야 한다 - 인터넷 규제에 저항하는 방법 (by 바삭바삭한 잉여 CRISP_SURPLUS/2015.03.09)|IT-컴퓨터 관련정보||

    Date2017.06.03 By마스티븐 Views5315
    Read More
  2. 안냐세요. CD에 기스난거요

    Date2003.06.18 By잔수 Views5304
    Read More
  3. 칭구음악듣기가 안 될 경우

    Date2002.08.15 By랑이 Views5275
    Read More
  4. 녹음하는 방법 좀 가르쳐주세요

    Date2003.06.26 Bysmalllight01 Views5258
    Read More
  5. 마우스 따라다니는 텍스트

    Date2001.03.19 By고정석 Views5245
    Read More
  6. 궁금해요(앙코르질문)

    Date2002.01.12 By궁금 Views5216
    Read More
  7. ogg 를 아시나요

    Date2003.04.22 By지순 Views5190
    Read More
  8. md에 관해서...

    Date2003.10.23 By기타맨 Views5160
    Read More
  9. 전환스위치 상자를 만들어보고 싶은데....질문.

    Date2004.02.27 By바람 Views5074
    Read More
  10. 스파이웨어 잡는 프로그램( 간절한님 답변글을 옮겼습니다)

    Date2002.09.10 By고정석 Views5071
    Read More
  11. sos

    Date2004.07.24 By김삿갓 Views5068
    Read More
  12. 음악듣기가 안되는데...

    Date2003.04.20 By알파 Views5010
    Read More
  13. 사진등이 들어간 문서를 그대로 복사하여 게시판에 올리는 방법

    Date2002.02.21 By고정석 Views5006
    Read More
  14. 문서 들어가고 나갈때 메세지 띄우기

    Date2001.03.19 By고정석 Views5006
    Read More
  15. 게시판에 직접 동영상 나오게 하는방법.

    Date2017.08.13 By Views4995
    Read More
  16. USB를 통한 PC upload

    Date2004.01.09 By문병준 Views4963
    Read More
  17. 다운로드 어떻게 받아여?

    Date2003.06.12 By무식쟁이 Views4947
    Read More
  18. [질문!!]컴퓨터 두대를 공유시켰는데 메신저 파일전송이나 방송같은게 전혀 안되네요!!

    Date2002.02.20 By견이~☆ Views4903
    Read More
  19. [re] 안냐세요. CD에 기스난거요

    Date2003.06.18 By익제 Views4894
    Read More
  20. 녹음에 관한 질문입니다

    Date2004.08.11 Bykaka Views4891
    Read More
  21. sony MZ_N10을 구입하려는데...

    Date2003.09.19 Byroggy Views4798
    Read More
  22. 소니의 새로운 MD format

    Date2004.01.09 By문병준 Views4764
    Read More
  23. [re] sony MZ_N10을 구입하려는데...

    Date2003.09.19 By그놈참 Views4690
    Read More
  24. 녹음관련 질문이에요

    Date2003.04.05 By지순 Views4615
    Read More
  25. 앙코르 프로그램 5.0 도움요청드립니다.ㅠㅠ

    Date2023.01.28 By이세 Views1790
    Read More
  26. 앙코르 4.5 에서 pdf 파일로 저장이 안되는지요...?

    Date2023.07.27 By정영화 Views1189
    Read More
  27. 앙코르 4.5 가 64비트 에서는 안열리는지요...?

    Date2023.07.27 By정영화 Views1096
    Read More
Board Pagination ‹ Prev 1 2 3 4 5 6 Next ›
/ 6

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Powered by Xpress Engine / Designed by hikaru100

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234