Skip to content

GuitarMania

2001.03.19 22:55

글자 계속 바꿔보자~!

(*.55.91.229) 조회 수 8540 댓글 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. 멋진 텍스트 효과(1)

    Date2001.03.19 By고정석 Views10188
    Read More
  2. 타이핑 치듯 나타나는 텍스트

    Date2001.03.19 By고정석 Views7215
    Read More
  3. 눈내리는 이미지 만들기

    Date2001.03.19 By고정석 Views8251
    Read More
  4. 무지개색 효과내는 텍스트

    Date2001.03.19 By고정석 Views11413
    Read More
  5. ☞ snow.class 다운받기

    Date2001.03.19 By고정석 Views8743
    Read More
  6. 다이나믹한 메뉴 만들자

    Date2001.03.19 By고정석 Views6688
    Read More
  7. 이미지 뽀샤시 하게 해보장^^* (Alpha)

    Date2001.03.19 By고정석 Views5594
    Read More
  8. body bgcolor 이벤트

    Date2001.03.19 By고정석 Views5752
    Read More
  9. 폼메뉴 만들기

    Date2001.03.19 By고정석 Views5634
    Read More
  10. 포토갤러리 만들어보자

    Date2001.03.19 By고정석 Views5873
    Read More
  11. 요일별로 배경 바꾸기

    Date2001.03.19 By고정석 Views5439
    Read More
  12. 텍스트 색 변하게 하기 (blink)

    Date2001.03.19 By고정석 Views5839
    Read More
  13. 음악감상 플레이어 만들기

    Date2001.03.19 By고정석 Views6225
    Read More
  14. 호빵이 마음대로 돌아다니는 소스

    Date2001.03.19 By고정석 Views6095
    Read More
  15. ram파일 배경음악 실행시키기

    Date2001.03.19 By고정석 Views6185
    Read More
  16. 마우스 오른쪽 버튼 소스보기 막기

    Date2001.03.19 By고정석 Views5850
    Read More
  17. 쿠키를 이용한 방문횟수와 환영메세지(창으로)

    Date2001.03.19 By고정석 Views5678
    Read More
  18. 자바스크립트 새창띄우기

    Date2001.03.19 By고정석 Views5758
    Read More
  19. 자바스크립트를 이용한 브라우저 흔들기

    Date2001.03.19 By고정석 Views5571
    Read More
  20. 문서 들어가고 나갈때 메세지 띄우기

    Date2001.03.19 By고정석 Views4995
    Read More
  21. 마우스 따라다니는 텍스트

    Date2001.03.19 By고정석 Views5225
    Read More
  22. 마우스를 따라 다니는 이미지

    Date2001.03.19 By고정석 Views6207
    Read More
  23. 마우스 따라당기는 원모양 (글씨,이미지)

    Date2001.03.19 By고정석 Views5900
    Read More
  24. 음악감상 플레이어 만들기

    Date2001.03.19 By고정석 Views5594
    Read More
  25. 음성 이메일 보낼수 있는 프로그램

    Date2001.03.19 By고정석 Views5490
    Read More
  26. 레이어 공지창 띄우기

    Date2001.03.19 By고정석 Views6350
    Read More
  27. 사진 무료로 스캔해주는 싸이트...

    Date2001.03.19 By고정석 Views5611
    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