가

플래시 랜덤하게 보이기 (포털사이트 배너처럼 구현)

<html>
<head>
<script language="JavaScript">
<!--
var list= new Array()
list[list.length]='flash_01.swf';
list[list.length]='flash_02.swf';
list[list.length]='flash_03.swf';
list[list.length]='flash_04.swf';
j=parseInt(Math.random()*list.length);
j=(isNaN(j))?0:j;
function showswf(){
document.write("<embed src='"+list[j]+"' width='390' height='130'>");
}
//-->
</script>

</head>

<table width="390" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="390" height="130"><script language="JavaScript">showswf();</script>
</td>
</tr>
</table>


</html>





아래 사이트로 가셔서 최신버전을 다운로드 후

http://www.iezn.com/test/ie/index.php

<head> 와 </head> 사이에 아래 코드를 넣어 주시면 패치됩니다.

<script type="text/javascript" src="embed_patch.js"></script><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
|

댓글 2개

감사합니다~ 잘됩니다.
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
06-06-29 조회 5,027
06-06-19 조회 5,398
06-06-02 조회 2,411
06-05-24 조회 3,917
06-05-14 조회 6,712
06-05-08 조회 2,858
06-02-02 조회 4,460
05-12-16 조회 3,424
05-12-05 조회 4,108
05-06-28 조회 3,164
05-04-11 조회 3,139
05-04-11 조회 3,338
05-04-11 조회 2,393
05-03-13 조회 2,321
05-03-12 조회 3,408
04-12-08 조회 6,845
04-12-01 조회 4,284
04-11-28 조회 2,422
04-11-28 조회 2,304
04-08-05 조회 4,731
04-08-05 조회 4,091
04-08-05 조회 4,731