묻고답하기

http://www.theshoes.in/

위 홈페이지에서 보여지는것처럼 플래시로 만든 홈페이지처럼 로딩되게 하는법좀 알려주세요.
사이트에서 소스를 보고 혼자서 삽질하려고 하니까 잘 안됩니다. -_-;;;

아래 소스 삽입하는거 맞는지요???

감사합니다.

*** 플래시 출력  ***/
function changeOpac(opacity, id) {

 var object = document.getElementById(id).style;

if (opacity == 0) {
  object.display = "none";
} else if (opacity > 0) {
  object.display = "block";
}
 object.opacity = (opacity / 100);
 object.MozOpacity = (opacity / 100);
 object.KhtmlOpacity = (opacity / 100);
 object.filter = "alpha(opacity=" + opacity + ")";
}

function shiftOpacity(id, millisec) {
 //if an element is invisible, make it visible, else make it ivisible
 if(document.getElementById(id).style.opacity == 0) {
  opacity(id, 0, 100, millisec);
 } else {
  opacity(id, 100, 0, millisec);
 }
}

function blendimage(divid, imageid, imagefile, millisec) {
 var speed = Math.round(millisec / 100);
 var timer = 0;
 
 //set the current image as background
 document.getElementById(divid).style.backgroundImage = "url(" + document.getElementById(imageid).src + ")";
 
 //make image transparent
 changeOpac(0, imageid);
 
 //make new image
 document.getElementById(imageid).src = imagefile;

 //fade in image
 for(i = 0; i <= 100; i++) {
  setTimeout("changeOpac(" + i + ",'" + imageid + "')",(timer * speed));
  timer++;
 }
}

function currentOpac(id, opacEnd, millisec) {
 //standard opacity is 100
 var currentOpac = 100;
 
 //if the element has an opacity set, get it
 if(document.getElementById(id).style.opacity < 100) {
  currentOpac = document.getElementById(id).style.opacity * 100;
 }

 //call for the function that changes the opacity
 opacity(id, currentOpac, opacEnd, millisec)
}

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
stylusom iis로 서버를 돌릴려고 하니. [1] 2007.08.10
자객 Show-Hide Layer 메뉴에 관한 질문입니다...  
전재근 답변이 없어서 다시한번 올려요.. 흑흑.. session 문제 [1] 2007.08.10
Real;JIN 홈페이지 만들다 보니 게시판에 head부분을 출력하게 입력을 햇는데요 [3] 2007.08.10
허브 일러스트에서 말이죠,ㅠ_ㅠ 그림첨부 - [1] 2007.08.10
아즈마드 폼메일 발송 관련 오류입니다 제발 도와주세요 [1] 2007.08.10
주승준 프레임이 나눠져 있는 페이지에서 원하는 프레임만 리플래쉬 할 수 있게 하고 싶습니다. [1] 2007.08.10
실버 제로보드 글 등록할때 데이터 등록중란 메세지 띄우는 방법좀 알려주세요~  
박희 이유를 모르겠어요. [1] 2007.08.10
데빌스텔스 포토샵에서..  
이유리 플래시에서 크롬리스 새창 여는 질문입니다. [2] 2007.08.10
레어목도리 그림판,포토샵 등에서도 은빛의 글자는 만들 수가 없나요? [1] 2007.08.10
wook.com HTTP_POST_FILES 를 넘기는 방법은 없나요? 파일 2단 넘김.. [2] 2007.08.10
민싱이 제로보드 다운로드 질문 [3] 2007.08.10
구윤정 제로보드....... 일기장이나 등등 홈피만들기 할때 [1] 2007.08.10
설화 표를 이용해서 홈페이지를 만드는데요^^; [2] 2007.08.10
강성민 플래쉬로 궁녀센스 같이 책장 넘겨지고 내용 나오게 하는거 어떻게 하나요? [2] 2007.08.10
부앵 새창 띄우기 질문. [1] 2007.08.10
박준호 함수좀 봐주세요 [1] 2007.08.10
최윤호 오타나 버그를 찾으려면? [4] 2007.08.10