'2008/02/02'에 해당되는 글 110건

  1. 2008.02.02 '화제집중' 두 아나운서의 귀여운 방송사고 '화제'
  2. 2008.02.02 비키니 이화선 보일락 말락
  3. 2008.02.02 휘성, '뮤직뱅크' 1위 "오빠 1등 먹었다"
  4. 2008.02.02 R.ef의 이성욱 '배신자라는 오해 풀고싶다'
  5. 2008.02.02 방송위, ‘무한도전’ 정준하 출연 관련해 ‘업무참고’ 통보
  6. 2008.02.02 영화 ''섹스 앤 더 시티'' 줄거리 공개 막기 작전?
  7. 2008.02.02 무한도전, 이번엔 ‘미녀새’ 이신바예바 만난다
  8. 2008.02.02 가수들이 운다…올 음반시장 600억 '최악'
  9. 2008.02.02 재격돌하는 최홍만과 마이티 모
  10. 2008.02.02 글자 테두리 강조하기
  11. 2008.02.02 글자가 점점 커지면서 없어지기
  12. 2008.02.02 두 문장이 서서히 바뀌게 하기
  13. 2008.02.02 텍스트 네온사인
  14. 2008.02.02 텍스트 랜덤으로 이동시키기
  15. 2008.02.02 글자를 쓰면 텍스트박스 안에 멋지게 입력되게 하기
  16. 2008.02.02 일정 간격으로 텍스트 바꾸기
  17. 2008.02.02 박스안에서 회전하는 이미지 - 배너등 쓰면 유용
  18. 2008.02.02 아이프레임(iframe) 대신 쓸수있는 오브젝트(object)
  19. 2008.02.02 새창을 항상 위로 유지하는 방법
  20. 2008.02.02 한글자씩 커지면서 타이핑
  21. 2008.02.02 컴퓨터 안에 설치된 글씨체 웹으로 선택하기
  22. 2008.02.02 쇼핑몰이나 여행사의 검색에서 쓸수있는 달력
  23. 2008.02.02 윈도우 타이틀바에 현재 시간 출력하기
  24. 2008.02.02 marquee(마퀴)코드 생성기
  25. 2008.02.02 글자가 커지는 스크립트 (동적)
  26. 2008.02.02 텍스트가 아래로 떨어짐
  27. 2008.02.02 날마다 바귀는 속담 - 매일 랜덤
  28. 2008.02.02 팝업창 소스 제작기
  29. 2008.02.02 레이어를 이용한 팝업 메뉴
  30. 2008.02.02 엔터(Enter)키가 탭(Tab)키 처럼 동작하게 하기
사용자 삽입 이미지

'생방송 화제집중'에서 일어난 방송사고. 김정근 최현정 아나운서가 웃는 모습이 그대로 생방송 전파를 타는 것을 뒤늦게 발견한 김 아나운서가 황급히 최 아나운서에게 알리고 있다.
MBC '생방송 화제집중'의 두 진행자가 벌인 '깜찍한' 방송사고가 네티즌들의 집중 클릭을 받고 있다.

'생방송 화제집중'의 진행자인 김정근 최현정 아나운서가 27일 방송에서, 카메라가 자신들을 비추지 않는 것으로 판단하고 크게 웃었지만 이는 생방송 전파를 타고 말았다.

이날 방송사고는 경북 경주에서 열리고 있는 경주 세계문화엑스포 현장 중계차를 연결해 현지 리포터의 방송을 듣는 순서에서 발생했다.

김정근 최현정 아나운서는 자연스럽게 리포터와 대화를 나누면서 방송을 진행했고, 리포터는 두 아나운서의 말을 이어 받아 현장 리포트를 시작했다. 화면은 경주에서 보내는 중계차 화면으로 바뀌었다.

그러나 몇 초가 지난 후 화면은 다시 서울 MBC 스튜디오로 바뀌었고, 리포터의 현장취재 화면이 방송되는 줄로 알았던 두 아나운서는 뭔가 재미있는 일이 있은 듯, 크게 웃고 있다.

김정근 아나운서가 순간적으로 방송화면에 자신들의 모습이 비춰지는 것을 발견하고, 놀란 눈을 하며 왼손으로 최현정 아나운서를 툭툭 치는 장면까지 방송됐다.

이에 네티즌들은 "귀여운 방송사고다" "김정근 아나운서의 놀라는 모습이 너무 귀엽다"면서 이들의 방송사고에 재미를 표시했다.

하지만 "방송진행자로서 끝까지 세심한 주의가 필요했다"고 자질을 지적하는 목소리도 높았다.

Posted by 알 수 없는 사용자
,

사용자 삽입 이미지

28일 오후 대구 스파밸리에서 열린 영화 ‘색즉시공 시즌2’ 현장공개에서 극중 수영부 코치역을 맡은 모델 출신 배우 이화선이 과감한 노출이 신경쓰였는지 계속해서 옷을 확인하고 있다.

한국 영화계에 ‘섹스 코미디’라는 새로운 장르를 태동시켰다고 평가받는 전작의 후속 ‘색즉시공 시즌2’는 오는 12월 개봉을 목표로 막바지 촬영에 한창이다.

사용자 삽입 이미지

사용자 삽입 이미지

사용자 삽입 이미지

Posted by 알 수 없는 사용자
,

사용자 삽입 이미지

가수 휘성이 KBS '뮤직뱅크' 음반판매차트에서 발매 약 한달 만에 1위를 차지했다.

지난 4일, 2년 만에 5집 음반 ‘Eternal Essence of Music’을 발표, 타이틀 곡 ‘사랑은 맛있다♡’로 활발한 활동을 펼치고 있는 휘성은 28일 생방송으로 진행된 KBS '뮤직뱅크'의 '음반 판매차트 Top 10'에서 정상에 올랐다. 5집 음반 발매 이후 음악 방송 프로그램에서 처음으로 1위를 거머쥔 것.

휘성은 “생각지도 못해 놀랐다”며 “부모님, 동생과 소속사 식구들, 함께 순위에 오른 빅뱅 후배들, 동료가수들에게 감사한다”고 소감을 밝혔다. 또 MC인 하하가 팬들에게 한마디를 권하자 “오빠 1등 먹었다”고 외치며 함박 웃음을 지었다.

휘성의 5집 음반은 발매 이후 실시간 음반 판매량 차트 한터차트에서 이수영, 백지영 등 인기가수들의 활약에도 불구하고 한달 동안 1, 2위를 유지하며 꾸준한 판매량을 보여왔다.

‘음반 판매차트 Top10’은 '뮤직뱅크'가 매주 차트쇼로 진행하고 있는 디지털 음원 차트, 노래방 인기 차트, 시청자 선호도차트에 이어 한 달간의 음반 판매량을 집계한 것으로 핫트랙스, 에반레코드 등 대형 음반 매장과 한터차트 등을 종합해 순위가 결정된다.

한편 이날 방송에서는 1위를 차지한 휘성의 앙코르 공연에 출연가수들이 모두 함께 무대에 함께 올라 훈훈한 모습을 연출했다.

Posted by 알 수 없는 사용자
,
사용자 삽입 이미지

 90년대 인기 댄스그룹 R.ef의 멤버 이성욱이 tvN 현장 토크쇼 '택시'(정승우 PD)에 출연해 R.ef 멤버간의 불화와 배신자라는 오명에 대한 솔직한 심경을 털어놨다.

 지난 1995년 '상심'으로 데뷔한 R.ef는 당시 최고의 댄스그룹으로 스포트라이트를 받으며 4장의 앨범 발표 후 1998년 해체했다. 2004년 재결성을 선언했지만, 별다른 진척이 없는 가운데 이성욱이 지난 5월 단독 쇼케이스를 열고 솔로 가수로 데뷔했고 이 과정에서 배신자라는 오명을 쓰게 됐다고 밝혔다. 결국 세사람은 재결성의 꿈을 이루지 못한채 현재 연락을 끊고 평행선만을 걷고 있는것으로 전해졌다.

 이날 이성욱은 자신의 솔로 데뷔에 대해 "당시 R.ef 재기 앨범의 제의를 받아들이는 기획사가 없었고, 멤버간의 불화만 심해지는 상황에서 팬들에게 R.ef가 잊혀지지 않도록 하는게 최선이었다"며 "나의 앨범은 R.ef 재기를 위한 준비단계였다"고 설명했다. 이성욱의 숨은 속내를 들은 '택시'의 진행자 이영자는 "R.ef 멤버들이 모두 마음을 열고 대화할 필요가 있다"며 두명의 R.ef 멤버가 공연하고 있는 일산으로 찾아가 즉석에서 오해를 푸는 만남의 자리를 주선했다.

 최고의 댄스그룹에서 이제는 잊혀진 그룹이 된 R.ef의 해체과정과 솔로로 재기한 이성욱의 롤러코스터 인생은 오는 29일 밤 11시에 tvN에서 방영된다

Posted by 알 수 없는 사용자
,
사용자 삽입 이미지

방송위원회가 MBC 예능프로그램 '무한도전'의 정준하 출연 여부를 두고 '무한도전' 팀에 업무참고를 통보했다.

지난 16일 방송위원회 홈페이지 시청자 참여 시청자불만접수에는 “MBC가 정준하의 불법영업논란에도 불구하고 반성이나 공식적인 사과는 커녕 무조건 감싸기에만 급급하다”는 시청자들의 민원이 제기됐다.

이에 방송위는 “'무한도전'과 관련해 사회적으로 물의를 일으킨 연예인의 방송 출연에 대해 시정을 요망해 이와 관련, 2007-35차 시청자불만처리위원회의 검토 결과 해당 방송사의 프로그램 제작 업무에 참고할 수 있도록 ‘방송사 업무참고’를 통보했다”고 밝혔다.

아울러 “시청자불만처리위원회에서 ‘업무참고’를 통보한 사항은 해당 방송사 시청자 담당 부서 또는 심의 담당 부서를 거쳐 제작진에게 전달되고 있다”고 덧붙였다.

현재 불만접수게시판에는 처리가 완료된 위 민원 외에도 2건이 처리중인 상태다. MBC측은 지난 14일 “정준하의 하차 계획이 없다”는 뜻을 밝힌 바 있으며 이에 정준하는 계속적으로 ‘무한도전’에 출연하고 있다.

Posted by 알 수 없는 사용자
,
사용자 삽입 이미지

전세계적으로 인기를 끌었던 시트콤 ‘섹스 앤 더 시티’가 영화 촬영을 시작하면서 이를 둘러싼 파파라치와 팬들의 관심이 커지고 있다.

지난 2004년 시즌6으로 마감했던 ‘섹스 앤 더 시티’는 기존 출연진들 그대로 3년 만에 영화화돼 팬들의 기대를 받았다. 지난 19일부터 뉴욕 도심에서 촬영이 시작되면서 파파라치들이 찍은 사진을 통해 언론과 팬들은 벌써부터 영화 줄거리와 패션 트렌드를 분석하기 시작했다.

지난 19일 첫 촬영에서는 캐리 역의 사라 제시카 파커와 미스터 빅 역의 크리스 노스가 참여했다. 초록색 원피스에 코트를 입은 캐리는 독특한 모양의 에펠탑 핸드백을 들고 나와 시트콤과 영화 사이의 연속성을 나타냈다. 시트콤 마지막 회에서 미스터 빅은 파리에서 마침내 캐리에게 사랑 고백을 했다.

이 외에도 네 명의 주연 배우들은 촬영 현장에 등장할 때마다 패셔너블하면서도 파격적인 옷차림으로 뉴욕 도심을 활보해 눈길을 끌었다.

한편, 파파라치가 찍은 동영상과 사진 등에 나타난 배우들의 모습이 하루 만에 급격히 변해 제작진들의 파파라치 따돌리기 작전이 아니냐는 추측을 낳고 있다. 영화가 개봉하기도 전에 파파라치들이 과도하게 정보를 제공하면서 영화 내용이 공개되는 것을 막으려는 제작진의 속셈이라는 것.

실제로 캐리 브래드쇼 역을 맡는 사라 제시카 파커는 금발이었다가 바로 다음날 갈색 머리로 등장했다. 또 TV시리즈에서 불임으로 고생했던 샬롯 역의 크리스틴 데이비스는 불룩한 배의 임신한 모습으로 등장해 샬롯이 임신에 성공했다는 추측을 낳았다. 하지만 바로 다음날 촬영장에서는 다시 본 모습대로 나타났다.

이에 따라 이러한 변화가 단순히 캐릭터들의 급격한 변화를 보여주는 것일 수도 있지만 제작진들이 현장을 찍는 파파라치들을 헷갈리게 하기 위해 가짜 단서를 만든 것이라는 의혹이 일고 있다. 뉴욕데일리뉴스의 한 칼럼니스트는 “팬들이 줄거리를 추측하지 못하도록 ‘섹스 앤 더 시티’ 제작진들이 가짜 영상을 찍고 있다는 얘기를 들었다”고 전했다.

Posted by 알 수 없는 사용자
,
사용자 삽입 이미지
MBC TV '무한도전' 멤버들이 여자 장대높이뛰기의 1인자 엘레나 이신바예바(25 러시아)와 만남을 갖는다.

한 관계자는 "10월 3일 대구 월드컵 경기장에서 열리는 국제육상경기대회 출전을 위해 한국을 방문하는 이신바예바가 '무한도전' 에 출연한다. 이신바예바 측에서 '무한도전' 프로그램 출연을 강력히 원했다.'무한도전'에만 출연하게 될 것"이라며 "10월 초에는 '무한도전'멤버들의 스페인행도 예정돼 있는 만큼 서로 간의 촬영 일정을 조정하고 있다"고 밝혔다.

'미녀새' '러시아의 천녀'라는 별칭을 갖고 있는 이신바예바는 빼어난 미모와 실력으로 인정받고 있는 세계적인 여자 장대높이뛰기 선수다. 2007년 세계육상선수권대회 여자 장대높이뛰기 결승전에서 4m80에 걸린 바를 뛰어넘으며 지상에서 하늘로 가장 높이 뛰어오른 여인이 됐다.

한편 '무한도전'은 이신바예바 외에 그동안 티에르 앙리를 비롯해 마리아 샤라포바, 미쉘 위, 에밀리아넨코 효도르 등 해외 스포츠 스타들이 출연, 인간적인 면모를 선보이며 인기를 모았다.

Posted by 알 수 없는 사용자
,
사용자 삽입 이미지

국내 오프라인 음반(CD) 시장규모가 올해 700억원에도 미치지 못하고 디지털 음악시장도 정체 상태에 머물 것이란 충격적인 전망이 나와 국내 음악 산업계에 비상이 걸렸다.

28일 음반사 및 디지털 음악서비스 등 관련업계에 따르면 국내 음반시장이 올해 처음으로 700억원 아래로 주저앉아 600억원대(레코드반출가 기준)라는 사상 최악의 수준을 기록할 것이란 전망이 우세하다.

이는 지난해 850억원 수준보다 약 200억원 정도 감소한 것으로 2000년 음반시장 호황기 때 보다 무려 5분의 1 이상 줄어든 수치이다.

또한 음반 시장의 축소에 따라 상대적으로 매년 성장세를 구가하던 컬러링·벨소리 등 디지털 음악 시장(유무선 포함) 역시 지난해 수준인 3천 500억원에서 3천 700억원대에 머물 것으로 예측되고 있다. 인터넷(유선)을 통한 온라인 음악서비스 시장의 경우 1천 500억원으로 지난해에 비해 100∼200억원 정도 증가하는 데 그칠 것이라 관측이다.

◆국내 음악시장 현황(단위=억원)

구분 2000년 2001년 2002년 2003년 2004년 2005년 2006년 2007년(추정)
음반시장 4,104 3,733 2,861 1,833 1,338 1,087 848 600∼700
디지털음악시장 - 911 1,328 1,811 2,112 2,621 3,500 3,700
무선(컬러링/벨소리) - 890 1,290 1,767 1,911 2,251 2,300 2,200
유선 - 21 38 44 201 370 1,200 1,500
총규모 4,104 4,644 4,189 3,644 3,450 3,708 4,384 4,400

<출처=디지털음악산업발전협의회>

이로 인한, 저작인접권료 시장은 약 2천억원에서 3천 100억원 규모에 이를 전망이다.

일각에서는 이러한 시장 전망에 '한국 음반시장은 끝났다'라는 자조섞인 한숨을 짓고 있다.

올 상반기 출시된 가요음반 중 유일하게 10만장 판매고를 넘긴 'SG워너비4집'과 '에픽하이4집' 앨범을 기획 유통한 엠넷미디어 강상돈 음악사업본부 사업부장은 "상반기 10만장을 넘긴 앨범이 고작 두개 뿐이다.

그 외 팔린 앨범은 없다고 보면 된다"며 "올 한해 음반 시장은 600억원 수준에 머물 것으로 보고 있다. 음악 시장이 어렵다는 것이 정말 피부로 느껴질 정도다. 답답할 뿐이다"고 토로했다.

SK텔레콤 '멜론' 서비스에 음원을 공급하는 와이더댄 금기훈 이사는 "지난 2000년 4천억원 수준에 달하던 국내 음반 시장은 불과 몇 년새 5분 1 수준으로 하락한 상황"이라며 "음반사들의 정확한 매출통계 수치가 잡혀야 하겠지만 올해엔 700억원을 넘기기 힘들 것이란 게 업계의 정설이다. 온라인 음악시장도 정체 상태에 머물 것"이라고 내다봤다.

국내 음반시장은 급속한 디지털 전환으로 지난 2000년 4천 100억원 규모에서 2003년 1천 830억원으로 급감한 뒤 지난해 850억원 수준까지 추락했다.

하지만 디지털 음악시장의 경우 유무선을 합해 2001년 911억원을 시작으로 2002년 1천 338억원, 2003년 1천 811억원, 2004년 2천112억원, 2005년 2천 621억원, 2006년 3천 500억원 등 매년 상승세를 지속해 터라 올 시장 정체로 인한 타격은 전체 산업발전에 악영향을 미칠 것으로 보인다.

업계 전문가들은 음반과 온라인 음악 시장 모두가 어려움을 겪고 있는 원인에 대해 P2P-웹하드 사이트를 통한 음악 불법복제의 만연 때문이라고 입을 모으고 있다.

이밖에 수년째 유무선 온라인 음악서비스 요금이 인상되지 못했고 컬러링과 벨소리 등 휴대폰을 통한 무선 음악시장의 포화도 한 요인으로 꼽히고 있다.

엠넷미디어 강상돈 사업부장은 "지하털이나 버스 안에서 음악을 듣는 사람들이 점점 늘고 있는 데도 불구하고 실제 시장이 줄고 정체되고 있다는 것은 음악 수요가 줄어들고 있는 게 아니라 그만큼 불법 복제가 더 성행하고 있다는 것"이라며 "불법복제를 근절하지 않는 한 음악 산업계가 살아나지 못할 것이다. 이러한 어려움은 내년까지 지속될 것 같다"고 말했다.

Posted by 알 수 없는 사용자
,

사용자 삽입 이미지

오는 29일 서울 올림픽공원 제1체육관에서 열리는 K-1 월드그랑프리 2007 인 서울 파이널 16강전에 앞서 28일 오후 삼성동 코엑스 인터컨티넨탈 호텔에서 출전선수기자회견을 갖고 있다.

재격돌하는 최홍만과 마이티 모가 취재진을 향해 포즈를 취하고 있다.


Posted by 알 수 없는 사용자
,
<span id="TexteBat" style="width:100%">
<h1>태그피아</h1>
</span>
</center>
<script>
<!--
var from = 4;    //시작하는테두리두께
var to = 12;       //끝나는 테두리 두께
var delay = 55;    //속도
var glowColor = "skyblue";     //색깔
var i = to;
var j = 0;

textPulseDown();

function textPulseUp()
   {
   if (!document.all)
      return
   if (i < to)
      {
      TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
      i++;
      theTimeout = setTimeout('textPulseUp()',delay);
      return 0;
      }

   if (i = to)
      {
      theTimeout = setTimeout('textPulseDown()',delay);
      return 0;
      }
   }

function textPulseDown()
   {
   if (!document.all)
      return
   if (i > from)
      {
      TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
      i--;
      theTimeout = setTimeout('textPulseDown()',delay);
      return 0;
      }
   if (i = from)
      {
      theTimeout = setTimeout('textPulseUp()',delay);
      return 0;
      }
   }
//-->
</script>
Posted by 알 수 없는 사용자
,
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
message = "태그피아";   //한글 영문 원하는 글자를 적어 주세요
colours = new Array('skyblue','pink')  //색상명 또는 16진수값을 수정합니다
siZe = 20;
message = message.split(' ');
timer = null;
clrPos = 0;
msgPos = 0;
jog = 1;
currentStep = 10;
step = 8;
ns = (document.layers)?1:0;
viz = (document.layers)?'hide':'hidden';
if (ns)
document.write("<div id='T' style='position:absolute'></div><br>");
else {
document.write("<div style='position:absolute'>");
document.write("<div align='center' style='position:relative'>");
document.write("<div id='T' style='position:absolute;width:0;height:0;font-family:Arial;font-size:0'>kurt</div>");
document.write("</div></div><br>");
}
function Message() {
var pageHeight = (document.layers)?window.innerHeight:window.document.body.offsetHeight;
var pageWidth = (document.layers)?window.innerWidth:window.document.body.offsetWidth;
if (ns) {
ypos = pageHeight / 2;
var Write = '<div align="center" style="width:0px;height:0px;font-family:Arial,Verdana;font-size:'+currentStep/4+'px;color:'+colours[clrPos]+'">' +message[msgPos]+'</div>';
document.T.top = ypos + -currentStep / 8 + window.pageYOffset;
document.T.document.write(Write)
document.T.document.close();
}
else {
ypos = pageHeight / 2;
xpos = pageWidth / 2;
T.style.width = currentStep;
T.style.pixelTop = ypos + -currentStep / 16 + document.body.scrollTop;
T.style.pixelLeft = (xpos - 20)+ -currentStep / 2;
T.style.fontSize = currentStep / 8;
T.innerHTML = message[msgPos];
T.style.color = colours[clrPos];
}
if (ns)step += 5;
else step += 15;
currentStep += step
if (ns) {
if (currentStep > pageWidth) {
currentStep = 10;
step = 8;
msgPos += jog;
clrPos += jog;
}
if (clrPos >= colours.length) clrPos = 0;
}
else {
if (currentStep > pageWidth * siZe) {
currentStep = 10;
step = 8;
msgPos += jog;
clrPos += jog;
}
if (clrPos >= colours.length) clrPos = 0;
}
if (msgPos >= message.length) {
clearTimeout(timer);
if (ns) document.T.visibility = viz;
else T.style.visibility = viz;
}
timer = setTimeout("Message()",40)
}
//  End -->
</script>
</HEAD>
<BODY onLoad="Message()">
</BODY>
</HTML>
Posted by 알 수 없는 사용자
,
<html>
<head>
<script>
function filterApply() {
blendTrans.filters[0].Apply();
blendTrans.innerHTML = "<h2>TagPia</h2>";
blendTrans.filters[0].Play(5);
}
</script>
</head>
<body onLoad="filterApply();">
<DIV ID="blendTrans"  STYLE="width:328px; height:100px; position:absolute; left:180px; top:70px; z-index:1; filter: blendTrans(duration=8)">
<H2 CLASS=before>
<font color="red">태그피아</font>
</H2>
</DIV>
</body>
</html>
Posted by 알 수 없는 사용자
,
<script language="JavaScript1.2">

var message="태그피아 많이 사랑해 주실꺼죠??.^-^" // 색이 변할 메세지
var neonbasecolor="#000000" // 기본글자색
var neontextcolor="red" // 바뀔 글자색
var flashspeed="100" // 색이 변하는 속도 (숫자가 클수록 느림)

var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')


var tempref=document.all.neonlight
}
else
document.write(message)

function neon(){


if (n==0){
for (m=0;m<message.length;m++)
tempref[m].style.color=neonbasecolor
}


tempref[n].style.color=neontextcolor

if (n<tempref.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}

function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
beginneon()

</script>
Posted by 알 수 없는 사용자
,
<html>
<head>

<SCRIPT LANGUAGE="JavaScript">

/* DHTML Scriptlets by TheShadow (theshadow@icon.co.za)
* Script #1 - "Hovering Text"
* 1 September 1998
* You may use and modify this code but you may not charge for it or works
* derived from it. Due credit is appreciated.
* Other scriptlets can be found at: http://www.icon.co.za/~andrewk
*/

arrCos = new Array(360);    /* Hold the COS lookup table for 0 to 359 deg */
arrSin = new Array(360);    /* Hold the SIN lookup table for 0 to 359 deg */

/* Generate the SIN and COS lookup tables. In reality SIN and COS are usually FAR
* slower than the functions that manipulate co-ordinates and plot graphics on the
* screen. But when it comes to doing things with DHTML, the reality is that the
* speed of SIN and COS don't really matter. But in the name of good programming
* technique, I'm using lookup tables - sue me :)
* Basically the way they work, for those who don't know, is that we compute all
* the possible values that we might need from SIN and COS and put them into an array.
* From then on we just look them up in the array instead of computing them each time.
*/

for (i=0;i<360;i++) {
    arrSin[i] = Math.sin(i * Math.PI / 180);
    arrCos[i] = Math.cos(i * Math.PI / 180);
}

function rotate(objID, x, y, r, deg, rinc) {
    /* objID    - the ID of the object we're gonna manipulate
     * x        - current object x-axis
     * y        - current object y-axis
     * r        - current object radius
     * deg      - current rotation around axis in degrees
     * rinc     - by how much we'll increment the radius this time
     */

    y = r * arrSin[deg];
    x = r * arrCos[deg];

    document.all[objID].style.pixelLeft = x;
    document.all[objID].style.pixelTop = y+r+10;

    if (deg % 60 == 0) r += rinc;

    /* Has the radius reached it's maximum/minumum? If so, change the sign of the rinc
     * so that instead of incrementing we decrement - and visa versa
     */
    if (r > 60 || r < 10) {
        rinc *= -1;
        r += rinc;
    }

    deg += 5;
    if (deg >= 360) deg = 0;

    setTimeout("rotate('" + objID + "'," + x + "," + y + "," + r + "," + deg + "," + rinc + ")", 10);
}

function highlight(objNum, lastNum) {
    /* objNum   -   which object to highlight
     * lastNum  -   which object is currently highlighted
     */

    document.all["obj" + objNum].style.color = "#FFCE5E";
    document.all["obj" + objNum].style.fontStyle = "italic";

    if (lastNum != 0) document.all["obj" + lastNum].style.color = "";
    if (lastNum != 0) document.all["obj" + lastNum].style.fontStyle = "";

    lastNum = objNum;
    if (++objNum > 3) objNum = 1;   /* Have we reached the last object? */

    document.all["obj" + objNum].style.color = "#FF7700";

    setTimeout("highlight(" + objNum+ "," + lastNum + ")", 2000);
}

function doit() {
    x=0;            /* initial x-axis position  */
    y=0;            /* initial y-axis position  */
    r=10;           /* initial radius           */
    deg=0;          /* initial rotation around axis (in degrees) */
    rinc = 1;       /* radius increment         */

    /* Begin rotating each phrase with possible offsets to the initial values */
    rotate("obj1", x, y, r+10, deg, rinc);
    rotate("obj2", x, y, r, deg+45, rinc);
    rotate("obj3", x, y, r+20, deg+90, rinc);
    rotate("obj4", x, y, r, deg+270, rinc);

    /* Begin highlighting each phrase in turn */
    highlight(1,0);
}

</SCRIPT>

<STYLE>
.rotateOBJ {position:relative}
</STYLE>

</head>
<body ONLOAD="doit();" style="font-family:Verdana; font-size:15pt;">

<table width=300>
<tr><td>

<FONT COLOR="#336600"><B><I><FONT style=font-size:9pt><SPAN CLASS=rotateOBJ ID=obj1>태그피아에 오신걸 환영합니다</SPAN></FONT>

</font><FONT COLOR="#FFCE5E"><FONT style=font-size:9pt><SPAN CLASS=rotateOBJ ID=obj2>카멜롯™</SPAN></FONT>

<FONT COLOR="teal"><FONT style=font-size:9pt<SPAN CLASS=rotateOBJ ID=obj3>http://oxtag.com</SPAN></FONT>

<FONT COLOR="#99CC00" style=font-size:9pt><SPAN CLASS=rotateOBJ ID=obj4>태그피아</SPAN></font>

</td>
</tr>
</table>

</body>
</html>
Posted by 알 수 없는 사용자
,
<SCRIPT>
var numLeft=-5
var numTop=15

function load(){
if(event.keyCode!=13){
numLeft+=6.5
box.innerHTML+="<span id=text style='position:absolute;top:"+numTop+";left:"+numLeft+";'></span>"
obj=document.all["text"]
chr="&#"+event.keyCode
j=obj.length-1
typing(200,j,chr);
}
}

function typing(b,i,c){
filterNum=100-b/2
document.all["in"].focus();
obj=document.all["text"]
if(b>15){obj[i].innerHTML="<div style='filter:alpha(opacity="+filterNum+");width:25;font-weight:bold;font-size:"+b+"'><center>"+c+"</div>"

b=b-2
setTimeout('typing('+b+','+i+',"'+c+'")',10)
}
else{obj[i].style.visibility='hidden'
if(obj[i].innerText==""){obj[i].innerText=" "};
document.all["in"].value+=obj[i].innerText
}
}
</SCRIPT>
<style>
#text{color:#FFB200;font-weight:bold;}
body {font-size:9pt;}
</style>

<BODY id="box" onload='document.all["in"].focus();'>
<input type=text name=in onkeypress=load() size=50 style="border:solid 1 #000000;background-color:#FFFFFF;color:#000000;">
Posted by 알 수 없는 사용자
,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>일정 간격으로 텍스트 바꾸기</title>
<link rel="stylesheet" type= "text/css" href="../style.css">
<script language="JavaScript">
<!--
function showlayer(str)
{
        if(document.layers) {
                document.layers["myText"].visibility = "show"
                document.layers["myText2"].visibility = "hide"
                document.layers["myText3"].visibility = "hide"
                setTimeout("showlayer2()", 2000);
        }
        else {
                document.all["myText"].style.visibility = "visible"
                document.all["myText2"].style.visibility = "hidden"
                document.all["myText3"].style.visibility = "hidden"
                setTimeout("showlayer2()", 2000);
        }
}

function showlayer2(str) {
        if(document.layers) {
                document.layers["myText"].visibility = "hide"
                document.layers["myText2"].visibility = "show"
                document.layers["myText3"].visibility = "hide"
                setTimeout("showlayer3()", 2000);
        }
        else {
                document.all["myText"].style.visibility = "hidden"
                document.all["myText2"].style.visibility = "visible"
                document.all["myText3"].style.visibility = "hidden"
                setTimeout("showlayer3()", 2000);
        }
}

function showlayer3(str) {
        if(document.layers) {
                document.layers["myText"].visibility = "hide"
                document.layers["myText2"].visibility = "hide"
                document.layers["myText3"].visibility = "show"
                setTimeout("showlayer()", 2000);
        }
        else {
                document.all["myText"].style.visibility = "hidden";
                document.all["myText2"].style.visibility = "hidden";
                document.all["myText3"].style.visibility = "visible";
                setTimeout("showlayer()", 2000);
        }
}

// end of script -->
</script>
<meta name="GENERATOR" content="Namo WebEditor v4.0">
</head>
<body onLoad="showlayer();">
<center>
- 일정 간격으로 텍스트 바꾸기 -
<div id="myText" style="color:999999; width:300px; height:200px; position:absolute; left:200px; top:50px; z-index:1; visibility:visible;">
<p>안녕하세여 ^^</p>
</div>

<div id="myText2" style="color:666666; width:300px; height:200px; position:absolute; left:200px; top:50px; z-index:1; visibility:visible;">
<p>강좌 보고 이쁜 홈피 많이 만드세여 ^^</p>
</div>

<div id="myText3" style="color:000000; width:300px; height:200px; position:absolute; left:200px; top:50px; z-index:1; visibility:visible;">
<p>모르시는거 있음 물어보시구여</p>
</div>

<table width="600" cellpadding="2" cellspacing="2"><tr><td height="60">

</td></tr>
<tr><td bgcolor="#FDFAEF">
<html><br><head><br><font color="red"><script language="JavaScript"><br><!--<br>function
                showlayer(str)<br>{<br>if(document.layers)
                {<br>document.layers["myText"].visibility
                = "show"<br>document.layers["myText2"].visibility
                = "hide"<br>document.layers["myText3"].visibility
                = "hide"<br>setTimeout("showlayer2()",
                </font><font color="green"><b>2000</b></font><font color="red">);<br>}<br>else
                {<br>document.all["myText"].style.visibility
                = "visible"<br>document.all["myText2"].style.visibility
                = "hidden"<br>document.all["myText3"].style.visibility
                = "hidden"<br>setTimeout("showlayer2()",
                </font><font color="green"><b>2000</b></font><font color="red">);<br>}<br>}<br><br>function
                showlayer2(str) {<br>if(document.layers)
                {<br>document.layers["myText"].visibility
                = "hide"<br>document.layers["myText2"].visibility
                = "show"<br>document.layers["myText3"].visibility
                = "hide"<br>setTimeout("showlayer3()",</font><font color="green"><b>2000</b></font><font color="red">);<br>}<br>else
                {<br>document.all["myText"].style.visibility
                = "hidden"<br>document.all["myText2"].style.visibility
                = "visible"<br>document.all["myText3"].style.visibility
                = "hidden"<br>setTimeout("showlayer3()",
                </font><font color="green"><b>2000</b></font><font color="red">);<br>}<br>}<br><br>function
                showlayer3(str) {<br>if(document.layers)
                {<br>document.layers["myText"].visibility
                = "hide"<br>document.layers["myText2"].visibility
                = "hide"<br>document.layers["myText3"].visibility
                = "show"<br>setTimeout("showlayer()",
                </font><font color="green"><b>2000</b></font><font color="red">);<br>}<br>else
                {<br>document.all["myText"].style.visibility
                = "hidden";<br>document.all["myText2"].style.visibility
                = "hidden";<br>document.all["myText3"].style.visibility
                = "visible";<br>setTimeout("showlayer()",
                </font><font color="green"><b>2000</b></font><font color="red">);<br>}<br>}<br><br>//
                end of script --><br></script></font><br></head><br><body
                <font color="red">onLoad="showlayer();"</font>><br><font color="red"><div
                id="myText" style="color:</font><font color="green"><b>글자색</b></font><font color="red">;
                width:</font><font color="green"><b>넓이</b></font><font color="red">px;
                height:</font><font color="green"><b>길이</b></font><font color="red">px;
                position:absolute; left:</font><font color="green"><b>글자위치(왼쪽)</b></font><font color="red">px;
                top:</font><font color="green"><b>글자위치(위)</b></font><font color="red">px;
                z-index:1; visibility:visible;"><br></font><font color="green"><b>쓰고싶은
                말</b></font><font color="red"><br></div><br></font>
                <p><font color="red"><div id="myText2" style="color:</font><font color="green"><b>글자색</b></font><font color="red">;
                width:</font><font color="green"><b>넓이</b></font><font color="red">px;
                height:</font><font color="green"><b>길이</b></font><font color="red">px;
                position:absolute; left:</font><font color="green"><b>글자위치(왼쪽)</b></font><font color="red">px;
                top:</font><font color="green"><b>글자위치(위)</b></font><font color="red">px;
                z-index:1; visibility:visible;"><br></font><font color="green"><b>쓰고싶은
                말</b></font><font color="red"><br></div><br></font>
                <p><font color="red"><div id="myText3" style="color:</font><font color="green"><b>글자색</b></font><font color="red">;
                width:</font><font color="green"><b>넓이</b></font><font color="red">px;
                height:</font><font color="green"><b>길이</b></font><font color="red">px;
                position:absolute; left:</font><font color="green"><b>글자위치(왼쪽)</b></font><font color="red">px;
                top:</font><font color="green"><b>글자위치(위)</b></font><font color="red">px;
                z-index:1; visibility:visible;"><br></font><font color="green"><b>쓰고싶은
                말</b></font><font color="red"><br></div><br></font><font color="black"></body><br></html></font>
</td></tr></table>
<br>
<center>
위와 같이 소스 넣고 초록색으로 된 부분만 수정해주세여<br>위쪽에 2000이라고 써있는
        숫자들은 글씨가 바뀌는 속도예여 숫자가 클수록 느려져여 ^^<br><br>

       
        </body>
</html>
Posted by 알 수 없는 사용자
,
<html>
<head>
<title>- 박스안에서 회전하는 이미지 -</title>


</head>
<body>
<center>
- 박스안에서 회전하는 이미지 -
<br><br>

<script language="JavaScript1.1">



var specifyimage=new Array()

specifyimage[0]="http://oxtag.com/html/img/banner3.gif"

specifyimage[1]="http://oxtag.com/html/img/banner4.gif"

specifyimage[2]="http://oxtag.com/html/img/banner/jjin_tagpia.gif"



var delay=2000 //2초



var count =1;



var cubeimage=new Array()

for (i=0;i<specifyimage.length;i++){

cubeimage[i]=new Image()

cubeimage[i].src=specifyimage[i]

}



function movecube(){

if (window.createPopup)

cube.filters[0].apply()

document.images.cube.src=cubeimage[count].src;

if (window.createPopup)

cube.filters[0].play()

count++;

if (count==cubeimage.length)

count=0;

setTimeout("movecube()",delay)

}



window.onload=new Function("setTimeout('movecube()',delay)")

</script>



<img src="http://oxtag.com/html/img/banner3.gif" name="cube" border=0 style="filter:progid:DXImageTransform.Microsoft.Stretch(stretchStyle='PUSH')">

<br>

 <br>이미지를 추가하고 싶을땐<br>specifyimage[2]="<font color="red">이미지3
        주소</font>"<br>위의 소스를 숫자를 늘려가며 계속 써주면 되여<br>specifyimage[2]="<font color="red">이미지3
        주소</font>"<br>specifyimage[3]="<font color="red">이미지4
        주소</font>"<br>specifyimage[4]="<font color="red">이미지5
        주소</font>"<br>이런식으로여<br>
<br>
</body>
</html>
Posted by 알 수 없는 사용자
,
아이프레임 못 쓰게 막아 놓은 사이트에 사용하면....

<object id="cmt" width="650" height="400" type="text/x-scriptlet">
<param name="url" value="http://oxtag.com/html/filter.html">
<param name="selectablecontent" value="0">
<param name=scrollbar value="1">
</object>
Posted by 알 수 없는 사용자
,
<BODY onBlur="window.focus()">

- 무조건 항상 앞에 나오으로 사용시 유의해야함

<BODY onBlur="setTimeout('window.focus()',5000)">

- setTimeout()은 적당한 시간 간격마다 특정 함수를 호출할 수 있는 기능으로 5초에 한번씩 호출한다.  
Posted by 알 수 없는 사용자
,
<html>
<head>
<script language="JavaScript">
<!--
function assignArray(text,delay) {
this.text=text
this.delay=delay
}
function createArray() {
//set color HERE
fadecolor=new Array("#000000","#666666","#999999","#777777","cccccc","#555555")
msg=new Array()
msg[0]=new assignArray("태그피아 오신걸 환영합니다",100)
msg[1]=new assignArray("많이 사랑해 주세여",100)
setTimeout("typeIt()", 500)
}
var msgNo=0
var characterSplit=0
var character=1
var colorNo=1
function typeIt() {
var insertHTML=""
if(msgNo <= msg.length-1) {
if(character <= msg[msgNo].text.length) {
if(colorNo<6) {
if(character != 1) {
var insertHTML = '<SPAN style="font-family:돋움; font-size:9pt; color:#000000">' + msg[msgNo].text.substring(0, character-1) + '</SPAN>'
}
insertHTML += '<SPAN style="font-family:돋움; font-size:18pt; color:'+fadecolor[colorNo]+'">' + msg[msgNo].text.substring(characterSplit, character) + '</SPAN>'
if(document.layers) {
document.typeWriter.document.write(insertHTML)
document.typeWriter.document.close()
}
else if (document.all) {
document.all.typeWriter.innerHTML = insertHTML
}
setTimeout("typeIt()", 50)
colorNo++
}
else{
colorNo=0
character++
characterSplit++
setTimeout("typeIt()", 100)}
}
else {
character=1
characterSplit=0
setTimeout("typeIt()", msg[msgNo].delay)
msgNo++
}
}
if(msgNo==2) {
msgNo=0
characterSplit=0
character=1
colorNo=1
msg=0
setTimeout("createArray()", 500)  }
}//-->
</script>
</head>
<body onload="createArray();">
<div id="typeWriter" style="border-style:none; width:230px; height:50px; position:absolute; left:230px; top:10px; z-index:1;"></div>

<br><br><br><br><br>
글자가 커졌을 때 바뀌는 색<br>
Array("#000000","#666666","#999999","#777777","cccccc","#555555")<br><br>

보여질 문구<br>
msg[0]=new assignArray("태그피아 오신걸 환영합니다",100)<br>
msg[1]=new assignArray("많이 사랑해 주세여",100)<br><br>

작아졌을 때 글자 모양과 크기<br>
[SPAN style="font-family:돋움; font-size:9pt; color:#000000"><br><br>

커졌을 때 글자 모양과 크기<br>
<SPAN style="font-family:돋움; font-size:18pt;<br><br>

글자의 위치 지정<br>
[div id="typeWriter" style="border-style:none; width:230px; height:50px; position:absolute; left:230px; top:100px; z-index:1;"][/div]

</body>
</html>
Posted by 알 수 없는 사용자
,
소스내에

document.all(i).unselectable = "on";

코드를 "on"하시면 input text는 마우스로 선택해서 입력할수가 없게 됩니다.
"off"로 설정하셔야 다른 입력을 같이 할수 있습니다

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>
<HEAD>
<TITLE>Choose Font Sample</TITLE>

                                <SCRIPT>

                                function fnInit(){
                                          for (i=0; i<document.all.length; i++)
                                                        document.all(i).unselectable = "on";
                                        oDiv.unselectable = "off";
                                        getSystemFonts();
                                }

                                function getSystemFonts()
                                { 
                                var a=dlgHelper.fonts.count;
                                var fArray = new Array();
                                var oOption = document.createElement("OPTION");
                                oOption.text = "===========================";
                                oOption.value = "0";
                                oSelect.add(oOption);
                                for (i = 1;i < dlgHelper.fonts.count;i++)
                                        {
                                                fArray[i] = dlgHelper.fonts(i);
                                                var oOption = document.createElement("OPTION");
                                               
                                                oOption.text = fArray[i];
                                                oOption.Value = i;
                                                oSelect.add(oOption);        
                                        }
                                }

function ChangeFont(){
var sSelection = oSelect.options[oSelect.selectedIndex].text;
document.execCommand("FontName",false,sSelection);
}
</SCRIPT>

</HEAD>

<BODY onload="fnInit();">

        <DIV STYLE="background-color:#eeeeee; border:2px solid #cccccc; padding:10px">  
              <SELECT  id="oSelect" onchange="ChangeFont()">
                                <OPTION VALUE="굴림">굴림</OPTION>
                                <OPTION VALUE="굴림체">굴림체</OPTION>
                                <OPTION VALUE="바탕">바탕</OPTION>
                                <OPTION VALUE="바탕체">바탕체</OPTION>
                                <OPTION VALUE="궁서">궁서</OPTION>
                                <OPTION VALUE="궁서체">궁서체</OPTION>
                                <OPTION VALUE="돋움">돋움</OPTION>
                                <OPTION VALUE="돋움체">돋움체</OPTION>
                          </SELECT>
                          <br>
                          <br>
                         
            <DIV id=oDiv CONTENTEDITABLE ALIGN=left STYLE="height:100;
                background-color:white; font-family:Arial; font-size:15pt; padding:10;    
                border:2px inset #eeeeee; overflow:auto;">
                                Select this text and choose a font from the drop down above.
                        </DIV>  
        </DIV>
                <br>
                <br>
               

<OBJECT id=dlgHelper CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px"></OBJECT>


</body>
</html>
Posted by 알 수 없는 사용자
,
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=euc-kr">
<script>

        var old='';
        function view(name,flag){

                if(flag == 'first')
                {
                calStr.style.pixelTop = img1.offsetTop + 30;
                calStr.style.pixelLeft = img1.offsetLeft;

                show_cal('',calStr,'first');
                }
                else
                {
                calStr.style.pixelTop = img2.offsetTop + 30;
                calStr.style.pixelLeft = img2.offsetLeft;

                show_cal('',calStr,'last');
                }

                submenu=eval(name+".style");

                if(old!=submenu)
                {
                        if(old!='')
                        {
                                old.visibility='hidden';
                        }
                        submenu.visibility='visible';
                        old=submenu;
                }
                else
                {
                        submenu.visibility='hidden';
                        old='';
                }
        }

        function insert(str1,str2,str3,str4){
                if(str4 == 'first'){
                        document.date.m_year.value = str1;
                        document.date.m_month.value = str2;
                        document.date.m_day.value = str3;
                       
                        calStr.style.visibility='hidden';
                        old='';
                }
                else
                {
                        document.date.n_year.value = str1;
                        document.date.n_month.value = str2;
                        document.date.n_day.value = str3;
                       
                        calStr.style.visibility='hidden';
                        old='';

                }
        }
</script>
</head>
<body>
<form name=date>
<input type=text name=m_year size=4>년
<input type=text name=m_month size=2>월
<input type=text name=m_day size=2>일
[<a href="javascript:view('calStr','first')" name=img1>검색</a>]부터
<input type=text name=n_year size=4>년
<input type=text name=n_month size=2>월
<input type=text name=n_day size=2>일
[<a href="javascript:view('calStr','last')" name=img2>검색</a>]까지</form>
<br>
<div id=calStr style='position:absolute; top:50; left:150; visibility:hidden; width:; z-index:1 ;'></div>
<script language="JavaScript">
<!--

//자바함수 라이브러리에 추가했으면 하는 함수덜..
function lpad(str,fill,leng)
{
    var n = leng - str.length;
    var out ="";
    for (i =0; i < n; i++)  out = out + fill;
    out=out+str;
    return out;
}
//parseInt에서는 '08'을 8진수로 인식해서 0이나 NaN을 돌려준다
function toInt(str)
{
    i=0;
    while(1)
    {
        if(str.substr(0,1)=='0') {str=str.substr(1,str.length)};
        else break;
        i++;
    }
    return parseInt(str);
}

//정훈이(sizers)와 함께 달력소스 후루꾸로 뱃기기.. ㅋㅋ


//기념일에 해당하는 배열 전역변수(이는 서버사이드에서 동적으로 생성시켜줘야함);
//알아서 적용시킬것...
//var anniversary = new Array(3,7,9,23,25);

function show_cal(selectDate,calDivObj,flag) //selectDate이슈가 되는 날짜, calDivObj달력을 뿌릴 DIV태그 아이디
{
    //전역변수들 세팅
    var selectDate = ''+selectDate; //전역변수1 - 이슈가 되는 날짜 지정
    today = new Date();
    toDate = today.getYear() + lpad(''+(today.getMonth()+1),'0',2) + lpad(''+today.getDate(),'0',2); // 오늘날짜 지정
    //alert(toDate);
    if (selectDate == '')
    {
        selectDate=toDate;
    }

    var preMonDate;
    var nextMonDate;
    preMonDate= selectDate.substr(0,4)+lpad(''+(toInt(selectDate.substr(4,2))-1),'0',2)+selectDate.substr(6,2);
    nextMonDate= selectDate.substr(0,4)+lpad(''+(toInt(selectDate.substr(4,2))+1),'0',2)+selectDate.substr(6,2);
    //alert(selectDate+":"+ preMonDate +":"+ nextMonDate);
    if(selectDate.substr(4,2)=='01') preMonDate= (toInt(selectDate.substr(0,4))-1) + '12' + selectDate.substr(6,2);
    if(selectDate.substr(4,2)=='12') nextMonDate= (toInt(selectDate.substr(0,4))+1) + '01' + selectDate.substr(6,2);

    //alert(selectDate+":"+ preMonDate +":"+ nextMonDate);

    var firstDay = getFirstDay(selectDate.substr(0,4), selectDate.substr(4,2));            // 첫번째 요일의 숫자값        
    var lastDay = getLastDay(selectDate.substr(0,4), selectDate.substr(4,2));            // 마지막 요일의 숫자값
    var daysOfMonth = getDaysOfMonth(selectDate.substr(0,4), selectDate.substr(4,2));    // 28, 29, 30, 31 중 하나
    //alert(firstDay+":"+ lastDay +":"+ daysOfMonth);
    var calString;//달력 HTML을 저장하기 위한 변수다.
    calString="<table bgcolor=#ffffff border='0' cellspacing='0' cellpadding='0' style='font-size:11px'>";

    calString+="<tr style='color=#0000C6'><td colspan='7' align=center>";
    calString+="<a href=\"javascript:show_cal('"+ (parseInt(selectDate.substr(0,4))-1)+ selectDate.substr(4,4) +"',"+ calDivObj.id +");\">◀◀</a> ";
    calString+="<a href=\"javascript:show_cal('"+ preMonDate +"',"+ calDivObj.id +");\">◀</a> ";
    calString+="<font size='2'><b>"+selectDate.substr(0,4)+"<font color='#FF6600'>"+selectDate.substr(4,2)+"</font></b></font> ";
    calString+="<a href=\"javascript:show_cal('"+ nextMonDate +"',"+ calDivObj.id +");\">▶</a> ";
    calString+="<a href=\"javascript:show_cal('"+ (parseInt(selectDate.substr(0,4))+1)+ selectDate.substr(4,4) +"',"+ calDivObj.id +");\">▶▶</a>";
    calString+="</td></tr>";

    calString+="<tr height='5'><td colspan='7'></td></tr>";
    calString+="<tr height=19>";
    calString+="<td width='19' align=center style='color=#C60000'>일</td>";
    calString+="<td width='19' align=center>월</td>";
    calString+="<td width='19' align=center>화</td>";
    calString+="<td width='19' align=center>수</td>";
    calString+="<td width='19' align=center>목</td>";
    calString+="<td width='19' align=center>금</td>";
    calString+="<td width='19' align=center style='color=#0000C6'>토</td>";
    calString+="</tr>";
   
    // 달력 textfield 출력
    for (var i=0; i < Math.ceil( (firstDay+daysOfMonth)/7 ); i++) {
        calString+="<tr valign='middle' height='19'>";
        for (var j=1; j <= 7; j++) {        
            colNum=i*7+j; //달력의 각 칸의 칼럼을 번호로 지정
           
            if (colNum>firstDay && colNum<firstDay+daysOfMonth+1) //달력에 날짜가 나와야 되는 조건
            {
                thisDay=colNum-firstDay; //이날의 날짜(숫자)
               
                //요일의 색깔을 결정하자 ㅋㅋ
                if(colNum%7==1) {tdColor="C60000";}
                else if(colNum%7==0) {tdColor="0000C6";}
                else {tdColor="333333";}
               
                //기념일일 경우에 링크를 걸어주자..  ㅋㅋ 스타일을 않걸었더니 색깔이 파란색으로@@;; 스타일도 알아서..
                /*
                                for(k=0;k<anniversary.length;k++)
                {
                    if(thisDay==anniversary[k])
                    {
                        thisDay="<a href='http://어디로 갈까.. ㅠ.ㅠ;;'><b>"+thisDay+"</b></a>";
                        break;
                    }
                }
                                */
                                /*
                                년도 : selectDate.substr(0,4)
                                달 : selectDate.substr(4,2)
                                날짜 : thisDay
                                */
                                calString+="<td align=center><a href=\"javascript:insert('"+selectDate.substr(0,4)+"','"+selectDate.substr(4,2)+"','"+thisDay+"','"+flag+"')\">"+thisDay+"</a></td>";
                //calString+="<td align='center' onClick='' style='color=#"+tdColor+"' onMouseOver=this.style.background='#e4e4e4'; onMouseOut=this.style.background='#ffffff';>"+"<a href=view.php?year="+selectDate.substr(0,4)+"&month="+selectDate.substr(4,2)+"&day="+thisDay+">"+thisDay+"</a></td>";
            }
            else
            {
                calString+="<td></td>";
            }
            //calString+="<td>"+colNum+"</td>";
        }
        calString+="</tr>";
    }
    calString+="</table>";

    //저장된 스트링변수를 DIV레이어에 올리자..
    calDivObj.innerHTML=calString;
}

/////////////////////////날짜 관련된 연산 함수들////////////////////////////
function getDaysOfMonth(year, month) {
    var DOMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];        // Non-Leap year Month days..
    var lDOMonth = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];    // Leap year Month days..
    /*
    Check for leap year ..
    1.Years evenly divisible by four are normally leap years, except for...
    2.Years also evenly divisible by 100 are not leap years, except for...
    3.Years also evenly divisible by 400 are leap years.
    */
    if ((year % 4) == 0) {
        if ((year % 100) == 0 && (year % 400) != 0)
            return DOMonth[toInt(month)-1];
    
        return lDOMonth[toInt(month)-1];
    } else
        return DOMonth[toInt(month)-1];
}

// 첫번째 요일 구하기
function getFirstDay(year, month) {
    var tmpDate = new Date();
    tmpDate.setDate(1);
    tmpDate.setMonth(toInt(month)-1);
    tmpDate.setFullYear(year);
    return tmpDate.getDay();
}

// 마지막 요일 구하기
function getLastDay(year, month) {
    var tmpDate = new Date();
    tmpDate.setDate( getDaysOfMonth(year,month) );
    tmpDate.setMonth(toInt(month)-1);
    tmpDate.setFullYear(year);
    return tmpDate.getDay();
}
/////////////////////////날짜 관련된 연산 함수들////////////////////////////

//-->
</script>

</body>
</html>
Posted by 알 수 없는 사용자
,
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var clocktext, timeday;
var pagetitle = document.title;
function scroll() {
today = new Date();
sec = today.getSeconds();
hr = today.getHours();
min = today.getMinutes();
// 12 Hour clock fix by Michael Mann (pres@manninc.com)
if (hr < 12) { timeday = " AM"; }
else { timeday = " PM"; }
if (hr > 12) hr = hr - 12;
if (hr <= 9) hr = "0" + hr;
if (min <= 9) min = "0" + min;
if (sec <= 9) sec = "0" + sec;
var clocktext = " - " + hr + ":" + min + ":" + sec + timeday;
clocktimer = setTimeout("scroll()", 1000);
document.title = pagetitle + clocktext;
}
if (document.all) scroll();
//  End -->
</script>
Posted by 알 수 없는 사용자
,
<style>
h3{background-color:#cc3366;color:#ffff00;font-size:15px;padding:3px;}
table{font-size:12px;}
#execArea{border:1px solid #cccccc;}
</style>

<script>
  function setWidth(objSel)
  {
     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value


     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

         marquee = marquee.replace(/width="[^"]+"/,'width="'+optionValue+'"');


     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //


     document.getElementById('execArea').innerHTML = objTextArea.value;
  }

  function setHeight(objSel)
  {
     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value


     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

     if(marquee.search(/height=/) == -1)
     {
         marquee = marquee.replace(/(width="[^"]+")/,'$1 height="'+optionValue+'"');
     }
     else
     {
         marquee = marquee.replace(/height="[^"]+"/,'height="'+optionValue+'"');
     }

     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //


     document.getElementById('execArea').innerHTML = objTextArea.value;
  }


  function setBehavior(objSel)
  {
     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value


     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

         marquee = marquee.replace(/behavior="[^"]+"/,'behavior="'+optionValue+'"');


     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //


     document.getElementById('execArea').innerHTML = objTextArea.value;
  }


  function setDirection(objSel)
  {

     var objSelHeight = document.getElementById('intHeight');
     if(objSel.selectedIndex>1 && objSelHeight.selectedIndex<1)
     {
         alert('height=100 이상으로 선택해주셔야 올바른 실행을 보실 수 있습니다.');

     }

     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value


     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

         marquee = marquee.replace(/direction="[^"]+"/,'direction="'+optionValue+'"');


     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //


     document.getElementById('execArea').innerHTML = objTextArea.value;
  }


  function setLoop(objSel)
  {
     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value


     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

         marquee = marquee.replace(/loop="[^"]+"/,'loop="'+optionValue+'"');


     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //


     document.getElementById('execArea').innerHTML = objTextArea.value;
  }

  function setScrollAmount(objSel)
  {

     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value


     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

         marquee = marquee.replace(/scrollamount="[^"]+"/,'scrollamount="'+optionValue+'"');


     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //


     document.getElementById('execArea').innerHTML = objTextArea.value;
  }


  function setScrollDelay(objSel)
  {

     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value


     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

         marquee = marquee.replace(/scrolldelay="[^"]+"/,'scrolldelay="'+optionValue+'"');


     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //


     document.getElementById('execArea').innerHTML = objTextArea.value;
  }

  function setMoving(objSel)
  {

     var objSel = objSel[objSel.selectedIndex]
     var optionValue = objSel.text;

     var objTextArea = document.getElementById('source');
     var source = objTextArea.value

     var marquee = String(source.match(/<marquee[^>]+>/)) //source.substring(0,source.indexOf("\n"));

     if(optionValue == "Yes")
     {

           marquee = marquee.replace(/>/,' onmouseover="this.stop()" onmouseout="this.start()" >');
     }
     else
     {
            marquee = marquee.replace(/ onmouseover="this.stop\(\)" onmouseout="this.start\(\)"/,'');
     }

     objTextArea.value =  source.replace(/<marquee[^>]+>/,marquee) //

     document.getElementById('execArea').innerHTML = objTextArea.value;
  }
</script>

<body>


<b>출처</b> : <a href=http://home.hanmir.com/~epjang/>http://home.hanmir.com/~epjang/</a>


<table border="1">
<tr>
  <td rowspan="2">
    <h3>속성</h3>
    <ul>
      <li>
        width=<select onchange="setWidth(this)"><option>100</option><option selected>300</option><option>500</option></select> height=<select id="intHeight" onchange="setHeight(this)"><option>0</option><option>100</option><option>300</option></select>
      </li>
      <li>
        behavior = <select onchange="setBehavior(this)"><option>alternate</option><option selected>scroll</option><option>slide</option></select>
      </li>
      <li>
        direction = <select onchange="setDirection(this)"><option>left</option><option>right</option><option>down</option><option>up</option></select>
      </li>
      <li>
        loop=<select onchange="setLoop(this)"><option>-1</option><option>1</option><option>2</option><option>3</option></select>
      </li>
      <li>
        scrollamount = <select onchange="setScrollAmount(this)"><option>1</option><option>3</option><option selected>6</option><option>9</option></select>
      </li>
      <li>
        scrolldelay = <select onchange="setScrollDelay (this)"><option>20</option><option selected>85</option><option>300</option></select>
      </li>
    </ul>
    <h3>이벤트</h3>
    <ul>
     <li>마우스 올려놓으면 멈추고 벗어날때 다시 움직임  <select onchange="setMoving(this)"><option>No</option><option>Yes</option></select>
    </ul>
  </td>
  <td >
    <span id="execArea">
    <marquee width="300" height="0" behavior="scroll" direction="left"  loop="-1"
             scrollamount="6" scrolldelay="85">이 곳에 내용이 들어갑니다.</marquee>
    </span>
  </td>
</tr>
<tr>
  <td>
    <textarea id="source" style="width:500px;height:100px;">
<marquee width="300" height="0" behavior="scroll"
          direction="left" loop="-1"
          scrollamount="6" scrolldelay="85" >
   이 곳에 내용이 들어갑니다.
</marquee>
    </textarea>
  </td>
</tr>
</table>
Posted by 알 수 없는 사용자
,
<style>body{background-color:#000000;}</STYLE>
<script>
  function init() {
     size=1;
     FontSize = 'textShadow.style.fontSize=size';
     zoomIn();
  }
  function zoomIn() {
     if (size < 110) {  /* 글자의 최종 크기 */
             eval(FontSize);
         size += 10;    /* 글자가 커지는 속도 */
         timer = setTimeout("zoomIn()",1);
     }
     else clearTimeout(timer);
  }
</script>
</head>
<body onLoad=init()>
<span id=textShadow style="position:absolute;top:100;left:80; width:900;font-size:1pt;font-family:'Arial black',Garamond;color:#c0c0c0;filter:shadow(color=#ffffff,direction=135)">
oxtag.com<!-- 여기에 문장 입력 -->
</span>
Posted by 알 수 없는 사용자
,
<script LANGUAGE="JavaScript">
<!--
  dynamicanimAttr = "dynamicanimation8"
  animateElements = new Array()
  currentElement = 0
  speed = 0
  stepsZoom = 8
  stepsWord = 8
  stepsFly = 12
  stepsSpiral = 16
  steps = stepsZoom
  step = 0
  outString = ""
  function dynAnimation8()
  {
    var ms = navigator.appVersion.indexOf("MSIE")
    ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
    if(!ie4)
    {
      if((navigator.appName == "Netscape") &&
         (parseInt(navigator.appVersion.substring(0, 1)) >= 4))
      {
        for (index=document.layers.length-1; index >= 0; index--)
        {
            layer=document.layers[index]
            if (layer.left==10000)
                layer.left=0
        }
      }
      return
    }
    for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if(null != animation)
      {
        if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        {
          ih = el.innerHTML
          outString = ""
          i1 = 0
          iend = ih.length
          while(true)
          {
            i2 = startWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, false, "")
            if(i2 == iend)
              break
            i1 = i2
            i2 = endWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, true, animation)
            if(i2 == iend)
              break
            i1 = i2
          }
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
        if(animation == "zoomIn" || animation == "zoomOut")
        {
          ih = el.innerHTML
          outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">"
          outString += ih
          outString += "</SPAN>"
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
      }
    }
    i = 0
    for (index=document.body.sourceIndex; index < document.all.length; index++)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if (null != animation)
      {
        if(animation == "flyLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyRight")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyTop" || animation == "dropWord")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottom")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyTopLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyTopRight" || animation == "flyTopRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottomLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "spiral")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "zoomIn")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else if(animation == "zoomOut")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        el.initLeft = el.style.posLeft
        el.initTop = el.style.posTop
        animateElements[i++] = el
      }
    }
    window.setTimeout("animate();", speed)
  }
  function offsetLeft(el)
  {
    x = el.offsetLeft
    for (e = el.offsetParent; e; e = e.offsetParent)
      x += e.offsetLeft;
    return x
  }
  function offsetTop(el)
  {
    y = el.offsetTop
    for (e = el.offsetParent; e; e = e.offsetParent)
      y += e.offsetTop;
    return y
  }
  function startWord(ih, i)
  {
    for(tag = false; i < ih.length; i++)
    {
      c = ih.charAt(i)
      if(c == '<')
        tag = true
      if(!tag)
        return i
      if(c == '>')
        tag = false
    }
    return -1
  }
  function endWord(ih, i)
  {
    nonSpace = false
    space = false
    while(i < ih.length)
    {
      c = ih.charAt(i)
      if(c != ' ')
        nonSpace = true
      if(nonSpace && c == ' ')
        space = true
      if(c == '<')
        return i
      if(space && c != ' ')
        return i
      i++
    }
    return -1
  }
  function outWord(ih, i1, i2, dyn, anim)
  {
    if(dyn)
      outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">"
    outString += ih.substring(i1, i2)
    if(dyn)
      outString += "</SPAN>"
  }
  function animate()
  {
    el = animateElements[currentElement]
    animation = el.getAttribute(dynamicanimAttr, false)
    step++
    if(animation == "spiral")
    {
      steps = stepsSpiral
      v = step/steps
      rf = 1.0 - v
      t = v * 2.0*Math.PI
      rx = Math.max(Math.abs(el.initLeft), 200)
      ry = Math.max(Math.abs(el.initTop),  200)
      el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
      el.style.posTop  = Math.ceil(-rf*Math.sin(t)*ry)
    }
    else if(animation == "zoomIn")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
      el.style.posLeft = 0
    }
    else if(animation == "zoomOut")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
      el.style.posLeft = 0
    }
    else
    {
      steps = stepsFly
      if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        steps = stepsWord
      dl = el.initLeft / steps
      dt = el.initTop  / steps
      el.style.posLeft = el.style.posLeft - dl
      el.style.posTop = el.style.posTop - dt
    }
    if (step >= steps)
    {
      el.style.posLeft = 0
      el.style.posTop = 0
      currentElement++
      step = 0
    }
    if(currentElement < animateElements.length)
      window.setTimeout("animate();", speed)
  }
//-->
</script>
</head>
<body onload=dynAnimation8()>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<div ALIGN=center>
<p dynamicanimation8="dropWord" style="position: relative !important; left: 10000 !important">
<b>안녕하세요. 태그피아 오신 것을 환영합니다.</b>
</p>
</div>
Posted by 알 수 없는 사용자
,
<script>
var kaiser = new Array(
  // **************************************
  // 명언들을 써줍니다!! 1일부터 31일까지
  // **************************************
  "고독한 것이 두렵다면 결혼을 하지 마라. <font color=navy>[체홉]</font> ",
  "내 비장의 무기는 아직 손 안에 있다. 그것은 희망이다. <font color=navy>[나폴레옹]</font> ",
  "변경을 허용하지 않는 것은 나쁜 계획이다. <font color=navy>[푸볼릴리우스 시루스]</font> ",
  "선은 결코 실패하지 않는 유일한 투자이다. <font color=navy>[소로]</font> ",
  "참을성이 있는 사람의 분노의 폭발에 조심하라! <font color=navy>[존 드라이든]</font> ",
  "남자의 마음은 대리석과 같고 여자의마음은 밀림과 같다. <font color=navy>[세익스피어]</font> ",
  "비교는 친구를 적으로 만든다. <font color=navy>[필레몬]</font> ",
  "기회는 새와 같은 것, 날아가기 전에 꼭 잡아라. <font color=navy>[실러]</font> ",
  "인생의 어려움은 선택에 있다. <font color=navy>[무어]</font> ",
  "이십대의 사랑은 환상이다. 30대의 사랑은 외도이다. 사람은 40세에 와서야 처음으로 참된 사랑을 알게 된다. <font color=navy>[괴테]</font> ",
  "두 여인을 화합시키기 보다는 유럽 전체를 화합시키는 편이 쉽다. <font color=navy>[루이 14세]</font> ",
  "태만은 천천히 움직이므로 가난이 곧 따라잡는다. <font color=navy>[프랭클린]</font> ",
  "나이는 사랑과 같아 숨길 수 없다. <font color=navy>[데커]</font> ",
  "방황과 변화를 사랑한다는 것은 살아 있다는 증거이다. <font color=navy>[바그너]</font> ",
  "여자란 눈물을 흘리는 남자 앞에서는 냉정을 유지하기 어렵다. S. D. <font color=navy>[코렛]</font>  ",
  "산다는 것은 서서히 태어나는 것이다. <font color=navy>[생텍쥐베리]</font> ",
  "유리와 처녀는 항상 위험하다. <font color=navy>[토르리지아노]</font> ",
  "자녀를 정직하게 기르는 것이 교육의 시작이다. <font color=navy>[러스킨]</font> ",
  "젊게 보입니다. 하는 말은 늙었다는 증거이다. <font color=navy>[어빙]</font> ",
  "웅변의 목적은 진리가 아니라 설득이다. <font color=navy>[마코레]</font> ",
  "자기의 잘못을 인정하는 것만큼이나 어려운 것은 없다. <font color=navy>[이즈 테일러]</font> ",
  "인생이란 느끼는 자에게는 비극, 생각하는 자에게는 희극이다. <font color=navy>[라 브뤼에르]</font> ",
  "인간의 고독감은 삶의 공포일 뿐이다. <font color=navy>[오닐]</font> ",
  "정사의 경험이 단 한번도 없다는 여인은 있지만 한번 밖에 없다는 여인은 드물다. <font color=navy>[라 로시푸코]</font> ",
  "신념을 갖지 않는 한 남에게 신념을 줄 수는 없다. <font color=navy>[아놀드]</font> ",
  "지갑이 가벼우면 마음이 무겁다. <font color=navy>[프랭클린]</font> ",
  "한명의 죽음은 비극이요, 백만 명의 죽음은 통계이다. <font color=navy>[스탈린]</font> ",
  "뇌물로 얻은 충성은 뇌물로 정복된다. <font color=navy>[세네카]</font> ",
  "아름다운 아내를 가진다는 것은 지옥이다. <font color=navy>[셰익스피어]</font> ",
  "청년기란 실패, 중년기는 고투, 노년기는 후회. <font color=navy>[디즈레일리]</font> ",
  "자기 자신을 현명하다고 생각하는 인간은 그야말로 바보이다. <font color=navy>[볼테르]</font> "
  // *********************************
  // 맨마지막 명언을 보면 콤마가 없어요..
  // *********************************
);
  // *******************
  // 현재 날짜를 뿌려줍니다.
  // *******************
  currentDate = new Date();
  i=currentDate.getDate()-1;
  i=i%kaiser.length;
  document.write(kaiser[i]);
</script>
Posted by 알 수 없는 사용자
,
<script language="javascript">
<!--
function code_view() {
        // 각 폼의 입력값을 읽어들임
        var value_a = document.gen_popup.code_name.value;
        var value_b = document.gen_popup.page_path.value;
        var value_c = document.gen_popup.popup_name.value;
        var value_d = document.gen_popup.width_size.value;
        var value_e = document.gen_popup.height_size.value;
        var value_f = document.gen_popup.left_size.value;
        var value_g = document.gen_popup.top_size.value;
        var value_h = document.gen_popup.scroll_ynn.options[document.gen_popup.scroll_ynn.selectedIndex].value;
        var value_i = document.gen_popup.resize_ynn.options[document.gen_popup.resize_ynn.selectedIndex].value;
        var value_j = document.gen_popup.fun_name.value;
        // 각 체크박스의 체크를 읽어들임
        var check_a = document.gen_popup.tool_cnu.checked;
        var check_b = document.gen_popup.loca_cnu.checked;
        var check_c = document.gen_popup.stat_cnu.checked;
        var check_d = document.gen_popup.menu_cnu.checked;
        // check_a가 체크상태라면
        if(check_a == true)
        var opt_a = ',toolbar=yes'; // 툴바를 사용하고
        else // 언체크 상래라면
        var opt_a = ''; // 툴바를 사용하지 않는다.
        if(check_b == true)
        var opt_b = ',location=yes'; // 주소창을 사용
        else
        var opt_b = '';
        if(check_c == true)
        var opt_c = ',status=yes'; // 상태바를 사용
        else
        var opt_c = '';
        if(check_d == true)
        var opt_d = ',menubar=yes'; // 메뉴바를 사용
        else
        var opt_d = '';
        // 팝업 코드를 생성하는 부분
        this_code = '<script language="javascript">\n';
        this_code += 'function '+value_j+'() {\n';
        this_code += '\t'+value_a+' = window.open(\''+value_b+'\',\''+value_c+'\',\'width='+value_d+',height='+value_e+',left='+value_f+',top='+value_g+',scrollbars='+value_h+',resizable='+value_i+''+opt_a+opt_b+opt_c+opt_d+'\');\n';
        this_code += '}\n';
        this_code += '</script>\n';
        this_code += '팝업 열어주는 코드 : '+value_j+'()<br>\n';
        this_code += '<input type="button" value="'+value_j+'" onclick="'+value_j+'();">\n';
        this_code += '<input type="button" value="'+value_j+' close" onclick="window.'+value_a+'.close();">\n';
        // 미리보기, 코드복사 버튼을 활성화 시킴
        document.gen_popup.p_v.disabled = false;
        document.gen_popup.c_c.disabled = false;
        // 팝업 코드를 생성하는 부분에 적혀진 코드를 textarea에 복사함
        document.gen_popup.view_code.value = this_code;
}
function prev_view() {
        cpv = window.open('','code_prev_view','width=300,height=300,left=0,top=0,scrollbars=no,resizable=no');

        cpv.document.focus();
        cpv.document.open();
        // textarea에 입력된 코드를 읽어서 팝업창에 보여줌
        cpv.document.write(document.gen_popup.view_code.value+'\n\n');
        cpv.document.write('<!-- 닫기버튼 코드 //-->\n');
        cpv.document.write('<hr size="1" width="80%" color="#000000">\n');
        cpv.document.write('<center>\n');
        cpv.document.write('<input type="button" value="닫기" onclick="window.close();" style="width:50%;">\n');
        cpv.document.write('</center>\n');
        cpv.document.close();
}
function dis_pv() {
        // 미리보기, 코드복사 버튼을 비활성화 시킴
        document.gen_popup.p_v.disabled = true;
        document.gen_popup.c_c.disabled = true;
}
function copy_code() {
        // textarea의 코드를 클립보드로 복사하는 부분
        var tempval=eval("document.gen_popup.view_code");
        tempval.focus();
        tempval.select();
        therange=tempval.createTextRange();
        therange.execCommand("Copy");
        alert('소스를 클립보드에 복사했습니다.'); // 복사 완료시 메세지
}
//-->
</script>
<body onload="document.gen_popup.code_name.focus();">
<!-- 폼 구성 부분 //-->
<form name="gen_popup">
<table border="0" width="500" cellspacing="0" cellpadding="0">
<tr>
<th width="100">코드이름</th>
<td><input type="text" name="code_name"></td>
</tr>
<tr>
<th width="100">경로</th>
<td><input type="text" name="page_path"></td>
</tr>
<tr>
<th width="100">팝업이름</th>
<td><input type="text" name="popup_name"></td>
</tr>
<tr>
<th width="100">가로크기</th>
<td><input type="text" name="width_size"></td>
</tr>
<tr>
<th width="100">세로크기</th>
<td><input type="text" name="height_size"></td>
</tr>
<tr>
<th width="100">좌측값</th>
<td><input type="text" name="left_size"></td>
</tr>
<tr>
<th width="100">상단값</th>
<td><input type="text" name="top_size"></td>
</tr>
<tr>
<th width="100">스크롤바</th>
<td><select name="scroll_ynn">
<option value="no">NO
<option value="yes">YES
</select></td>
</tr>
<tr>
<th width="100">크기조절</th>
<td><select name="resize_ynn">
<option value="no">NO
<option value="yes">YES
</select></td>
</tr>
<tr>
<th width="100">함수이름</th>
<td><input type="text" name="fun_name" value="open_popup"></td>
</tr>
<tr>
<th colspan="2">
<input type="checkbox" name="tool_cnu">Toolbar
<input type="checkbox" name="loca_cnu">Location
<input type="checkbox" name="stat_cnu">Status
<input type="checkbox" name="menu_cnu">Menubar
</th>
</tr>
<tr>
<td colspan="2" align="center">
<input type="button" value="코드보기" onclick="code_view();">
<input type="button" value="미리보기" onclick="prev_view();" name="p_v" disabled>
<input type="button" value="코드복사" onclick="copy_code();" name="c_c" disabled>
<input type="reset" value="초기화" onclick="dis_pv();">
</td>
</tr>
<tr>
<td colspan="2"><textarea name="view_code" cols="68" rows="10"></textarea></td>
</tr>
</table>
</form>
Posted by 알 수 없는 사용자
,
<body leftmargin=0 topmargin=0>
<script language="JavaScript1.2">

//Contents for 검색엔진
var menu1=new Array()
menu1[0]='<a href=http://www.empas.com target=_blank>Empas</a><br>'
menu1[1]='<a href=http://www.naver.com target=_blank>네이버</a><br>'
menu1[2]='<a href=http://www.daum.net target=_blank>다음</a><br>'
menu1[3]='<a href=http://www.paran.com target=_blank>파란닷컴</a><br>'
menu1[4]='<a href=http://kr.yahoo.com target=_blank>야후 코리아</a><br>'

//Contents for 신문사이트
var menu2=new Array()
menu2[0]='<a href=http://www.hani.co.kr target=_blank>한겨레신문</a><br>'
menu2[1]='<a href=http://www.donga.com target=_blank>동아닷컴</a><br>'

//Contents for 기타사이트
var menu3=new Array()
menu3[0]='<a href=http://www.petiamo.com target=_blank>페티아모</a><br>'
menu3[1]='<a href=http://oxtag.com target=_blank>유마트</a><br>'
menu3[2]='<a href=http://www.wolse.com target=_blank>월세닷컴</a><br>'

</script>
<style>
<!--
.wrap1{position:relative;}
.wrap2{position:absolute;}
#dropmenu0, #dropmenu1{z-index:100;}
-->
</style>
</head>

<script language="JavaScript1.2">
var zindex=100
var ns4=document.layers
var ns6=document.getElementById&&!document.all
var ie4=document.all
var opr=navigator.userAgent.indexOf("Opera")

function dropit(e,whichone){
curmenuID=ns6? document.getElementById(whichone).id : eval(whichone).id
if (window.themenu&&themenu.id!=curmenuID)
themenuStyle.visibility=ns4?"hide" : "hidden"

themenu=ns6? document.getElementById(whichone): eval(whichone)
themenuStyle=(ns6||ie4)? themenu.style : themenu

themenuoffsetX=(ie4&&opr==-1)? document.body.scrollLeft : 0
themenuoffsetY=(ie4&&opr==-1)? document.body.scrollTop : 0

themenuStyle.left=ns6||ns4? e.pageX-e.layerX : themenuoffsetX+event.clientX-event.offsetX
themenuStyle.top=ns6||ns4? e.pageY-e.layerY+19 : themenuoffsetY+event.clientY-event.offsetY+18

hiddenconst=(ns6||ie4)? "hidden" : "hide"
if (themenuStyle.visibility==hiddenconst){
themenuStyle.visibility=(ns6||ie4)? "visible" : "show"
themenuStyle.zIndex=zindex++
}
else
hidemenu()
return false
}

function hidemenu(){
if ((ie4||ns6)&&window.themenu)
themenuStyle.visibility="hidden"
else if (ns4)
themenu.visibility="hide"
}

if (ie4||ns6)
document.onclick=hidemenu
</script>




<span class=wrap2 onClick="dropit(event, 'dropmenu0');event.cancelBubble=true;return false">
    <a href="http://oxtag.com" onClick="if(ns4) return dropit(event, 'document.dropmenu0')">검색엔진</a>
</span>

<br>

<span class=wrap2 onClick="dropit(event, 'dropmenu1');event.cancelBubble=true;return false">
    <a href="http://oxtag.com" onClick="if(ns4) return dropit(event, 'document.dropmenu1')">신문사</a>
</span>

<br>

<span class=wrap2 onClick="dropit(event, 'dropmenu2');event.cancelBubble=true;return false">
    <a href="http://oxtag.com" onClick="if(ns4) return dropit(event, 'document.dropmenu2')">기타 사이트</a>
</span>


<div id=dropmenu0 style="position:absolute;left:0;top:0;layer-background-color:lightyellow;background-color:lightyellow;width:150;visibility:hidden;border:1px solid black;padding:0px">
<script language="JavaScript1.2">
if (document.all)
dropmenu0.style.padding="4px"
for (i=0;i<menu1.length;i++)
document.write(menu1[i])
</script>
</div>
<script language="JavaScript1.2">
if (document.layers){
document.dropmenu0.captureEvents(Event.CLICK)
document.dropmenu0.onclick=hidemenu
}
</script>

<div id=dropmenu1 style="position:absolute;left:0;top:0;layer-background-color:lightyellow;background-color:lightyellow;width:150;visibility:hidden;border:1px solid black;padding:0px">
<script language="JavaScript1.2">
if (document.all)
dropmenu1.style.padding="4px"
for (i=0;i<menu2.length;i++)
document.write(menu2[i])
</script>
</div>
<script language="JavaScript1.2">
if (document.layers){
document.dropmenu1.captureEvents(Event.CLICK)
document.dropmenu1.onclick=hidemenu
}
</script>


<div id=dropmenu2 style="position:absolute;left:0;top:0;layer-background-color:lightyellow;background-color:lightyellow;width:150;visibility:hidden;border:1px solid black;padding:0px">
<script language="JavaScript1.2">
if (document.all)
dropmenu2.style.padding="4px"
for (i=0;i<menu3.length;i++)
document.write(menu3[i])
</script>
</div>
<script language="JavaScript1.2">
if (document.layers){
document.dropmenu2.captureEvents(Event.CLICK)
document.dropmenu2.onclick=hidemenu
}
</script>
Posted by 알 수 없는 사용자
,
Enter 키를 누르면 다음 Input Box에 Focus가 가도록
하는 기법이다.

Form 개체안에 Submit Type의 Button은 배치 하지 않아야 한다.


<script>
        function EnterShift() {
                var keyValue = event.keyCode;
                if (keyValue =='13')
                        document.form1.passwd.focus();
        }

        function EnterDown() {
                var keyValue = event.keyCode;
                if (keyValue =='13')
                        document.form1.submit();
        }
</script>


<form method=post name=form1>
    <input type=text tabindex=1 name=id onkeydown=EnterShift()> <br>
    <input type=text tabindex=2 name=passwd onkeydown=EnterDown()> <br>
    <input type=button value='로그인' onclick=document.form1.submit()>
</form>


<pre>
* 첫번째 input box 몇자 입력하고 Enter 키를 눌러보세요.
</pre>
Posted by 알 수 없는 사용자
,