사이트 내 전체검색
텍스트에 따른 롤링
로빈아빠
https://cmd.kr/javascript/739 URL이 복사되었습니다.

본문

텍스트에 따른 롤링

888a2104_122689793709251
<SCRIPT type=text/javascript>
<!--
// 보여줄 이미지
src = ["img1","img2","img3","img4","img5","img6"]
url = ["#link1","#link2","#link3","#link4","#link5","#link6"]
ct=0;
function switchAd(num) {
	if (num == null) {
		var n=(ct)%src.length;
		var html = '<a href="' + url[n] + '"><img src="img/' + src[n] + '.gif" width="237" height="56" alt=""></a>';
		document.getElementById('evt').innerHTML = html;
		ct++;
		tim = setTimeout("switchAd()",4000);
	} else {
		ct = num;
		var n=(ct)%src.length;
		var html = '<a href="' + url[n] + '"><img src="img/' + src[n] + '.gif" width="237" height="56" alt=""></a>';
		document.getElementById('evt').innerHTML = html;

		clearTimeout(tim);
	}		
}
//-->
</SCRIPT>

<TABLE style="MARGIN-BOTTOM: 25px" cellSpacing=0 cellPadding=0 width=245 border=0>
	<TR>
		<TD style="BACKGROUND: url(img/event_bg.gif) no-repeat" align=middle height=64>
			<DIV id=evt></DIV>
		</TD>
	</TR>
	<TR>
		<TD style="LINE-HEIGHT: 1.4; PADDING-TOP: 5px">
    		<A onmouseover=switchAd(0) onmouseout=switchAd(); href="#link1" target=_parent>롤링1...........</A><BR>
    		<A onmouseover=switchAd(1) onmouseout=switchAd(); href="#link2" target=_parent>롤링2...........</A><BR>
    		<A onmouseover=switchAd(2) onmouseout=switchAd(); href="#link3" target=_parent>롤링3...........</A><BR>
			<A onmouseover=switchAd(3) onmouseout=switchAd(); href="#link4" target=_parent>롤링4...........</A><BR>
			<A onmouseover=switchAd(4) onmouseout=switchAd(); href="#link5" target=_parent>롤링5...........</A><BR>
			<A onmouseover=switchAd(5) onmouseout=switchAd(); href="#link6" target=_parent>롤링6...........</A><BR>
		</TD>
	</TR>
</TABLE>
<SCRIPT type=text/javascript>switchAd();</SCRIPT>

댓글목록

등록된 댓글이 없습니다.

831 (4/17P)

Search

Copyright © Cmd 명령어 18.118.144.199