사이트 내 전체검색
tbody로 롤오버 게시판
로빈아빠
https://cmd.kr/javascript/626 URL이 복사되었습니다.

본문

tbody로 롤오버 게시판

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- tbody 스크립트부분-->
<script>
function partChange(getNum){
	for(i=1;i<4;i++){
		SetDP = eval("document.all.Block_MM_"+i);
		if(getNum==i){
			SetDP.style.display = "block";
		}else{
			SetDP.style.display = "none";
		}
	}
}
</script>
<!-- tbody 스크립트부분끝-->
<table border="0" cellpadding="0" cellspacing="0">
	<tbody id="Block_MM_1" style="display:block;">
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image01','','images/main/project_title_o.gif',0); javascript:partChange(1);"><img src="images/main/project_title.gif" name="Image01" border="0"></a></td>
		<td width="1" rowspan="5" background="images/main/dot_line.gif" ></td>
		<td width="273" rowspan="5" valign="top" >
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr> 
					<td width="6%" height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td width="94%" height="20">1]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image02','','images/main/cons_title_o.gif',0); javascript:partChange(2);"><img src="images/main/cons_title.gif" name="Image02" border="0"></a></td>
	</tr>
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image03','','images/main/news_title_o.gif',0); javascript:partChange(3);"><img src="images/main/news_title.gif" name="Image03" border="0"></a></td>
	</tr>
	<tr> 
		<td width="83" height="35">&nbsp;</td>
	</tr>
	<tr> 
		<td width="83" height="27" align="right"><a href="#"><img src="images/main/btu_more.gif" width="44" height="9" border="0"></a></td>
	</tr>
	</tbody>

	<tbody id="Block_MM_2" style="display:none;">
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image01','','images/main/project_title_o.gif',0); javascript:partChange(1);"><img src="images/main/project_title.gif" name="Image01" border="0"></a></td>
		<td width="1" rowspan="5" background="images/main/dot_line.gif" ></td>
		<td width="273" rowspan="5" valign="top" >
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr> 
					<td width="6%" height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td width="94%" height="20">2</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image02','','images/main/cons_title_o.gif',0); javascript:partChange(2);"><img src="images/main/cons_title.gif" name="Image02" border="0"></a></td>
	</tr>
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image03','','images/main/news_title_o.gif',0); javascript:partChange(3);"><img src="images/main/news_title.gif" name="Image03" border="0"></a></td>
	</tr>
	<tr> 
		<td width="83" height="35">&nbsp;</td>
	</tr>
	<tr> 
		<td width="83" height="27" align="right"><a href="#"><img src="images/main/btu_more.gif" width="44" height="9" border="0"></a></td>
	</tr>
	</tbody>

	<tbody id="Block_MM_3" style="display:none;">
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image01','','images/main/project_title_o.gif',0); javascript:partChange(1);"><img src="images/main/project_title.gif" name="Image01" border="0"></a></td>
		<td width="1" rowspan="5" background="images/main/dot_line.gif" ></td>
		<td width="273" rowspan="5" valign="top" >
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr> 
					<td width="6%" height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td width="94%" height="20">3</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
				<tr> 
					<td height="20" align="center"><img src="images/main/icon_01.gif" width="6" height="13"></td>
					<td height="20">1502 기아자동차 홈페이지 수주 [2005.10.01]</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image02','','images/main/cons_title_o.gif',0); javascript:partChange(2);"><img src="images/main/cons_title.gif" name="Image02" border="0"></a></td>
	</tr>
	<tr> 
		<td width="83" style="padding-bottom:3px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image03','','images/main/news_title_o.gif',0); javascript:partChange(3);"><img src="images/main/news_title.gif" name="Image03" border="0"></a></td>
	</tr>
	<tr> 
		<td width="83" height="35">&nbsp;</td>
	</tr>
	<tr> 
		<td width="83" height="27" align="right"><a href="#"><img src="images/main/btu_more.gif" width="44" height="9" border="0"></a></td>
	</tr>
	</tbody>
</table>

댓글목록

등록된 댓글이 없습니다.

831 (3/17P)

Search

Copyright © Cmd 명령어 18.119.120.59