Skip to content

GuitarMania

2001.03.19 22:55

글자 계속 바꿔보자~!

(*.55.91.229) 조회 수 8560 댓글 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. LP 음반을 MP3로 맹그는 방법

    Date2003.05.07 Byniceplace Views9202
    Read More
  2. HTML 연습장

    Date2001.08.05 By고정석 Views6613
    Read More
  3. HTML 알짜 TIP

    Date2001.07.30 By고정석 Views5434
    Read More
  4. gohip 제거 프로그램

    Date2001.05.11 By고정석 Views9280
    Read More
  5. FLUID(이진성)님의 MD 녹음방법.

    Date2005.11.27 By Views7626
    Read More
  6. Finale 2014가 나왔습니다.

    Date2013.10.18 By피날레 Views18866
    Read More
  7. enc확장자 압축은 어떻게 푸는건가요?

    Date2006.10.17 By김정헌 Views11884
    Read More
  8. enc악보를 기타프로 악보로 전환방법.

    Date2007.11.22 By유의선 Views15489
    Read More
  9. Encore 파일 pdf 파일로 만들기 방법과 이미지로 된 파일을 PDF 로 만드는 방법

    Date2012.03.08 By노동환 Views15510
    Read More
  10. Encore 파일 pdf 파일로 만들기 방법 좀 가르쳐주세요.

    Date2012.01.17 By아이모레스 Views14424
    Read More
  11. enc 앙코르파일을 pdf로 변환하기!!

    Date2007.07.16 By최병욱 Views24533
    Read More
  12. embed 하는 방법

    Date2009.01.08 ByJason Views9913
    Read More
  13. DVD에 있는 음원추출방법...

    Date2009.04.13 By컴맹 Views13958
    Read More
  14. CyberSynth 키보드 ,Synthbar ( 컴퓨터 키보드 악기)

    Date2004.05.01 By고정석 Views7869
    Read More
  15. CD음악을 MP3파일로 만드는 방법 (CDex프로그램 사용법)

    Date2004.02.26 By오모씨 Views9719
    Read More
  16. cd 음악을 게시판에 올리려면

    Date2004.03.30 By초보 Views5721
    Read More
  17. CD Recording

    Date2002.05.28 By고정석 Views6516
    Read More
  18. body bgcolor 이벤트

    Date2001.03.19 By고정석 Views5756
    Read More
  19. ape파일 굽는법 좀 가르쳐 주세요~

    Date2004.09.15 Byahoka Views6437
    Read More
  20. Adobe Acrobat Reader 한글판 5.05 (PDF 화일 볼때 필수)

    Date2002.06.14 By고정석 Views6719
    Read More
  21. <컴맹>하드포맷하는 법이 궁금합니다.

    Date2008.06.06 By궁금이 Views11541
    Read More
  22. 1by1이라는 멀티미디어플레이어입니다.

    Date2006.02.21 By무명기협 Views5872
    Read More
  23. (질문)앙코르에서 악보 출력할때 애로사항이 있습니다..-_-;;

    Date2004.07.10 By성민 Views7585
    Read More
  24. !![강충]real 파일들을 Winamp 에서 돌아가게 해주는 프로그램!!

    Date2001.07.19 By아따보이 Views5637
    Read More
  25. 칭구음악듣기가 안 될 경우

    Date2002.08.15 By랑이 Views5156
    Read More
  26. V3+Neo 로 만든 V3SOS 로 바이러스 치료법

    Date2002.06.12 By고정석 Views6582
    Read More
  27. md 녹음관련 질문이 있습니다o_o;

    Date2003.11.27 Byㅇㅇ Views5709
    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