묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
그럼이소스는 왜안되는거죠..
2007.06.29 12:03
<script language="JavaScript">
<!--
if (document.images) {
img1_open = new Image();
img2_open = new Image();
img3_open = new Image();
img1_open.src = "img1.jpg";
img2_open.src = "img2.jpg";
img3_open.src = "img3.jpg";
}
function over(i,j)
{
if (document.images)
eval('document.img'+i+'.src=img'+j+'_open.src');
}
//-->
</script>
<table width="300" height="250" border="1" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img name=img1 border=0 src="http://enship.co.kr/image/mcd7-1.gif" width=250 height=200>
</td>
</tr>
<tr>
<td><a href="#" onMouseOver="('http://enship.co.kr/image/mcd7-1.gif',1)"><img border=0 alt="Changing image..." src="http://enship.co.kr/image/mcd7-4.gif" width=63 height=50></a>
</td>
<td><a href="#" onMouseOver="('http://enship.co.kr/image/mcd7-2.gif',2)"><img border=0 alt="Changing image..." src="http://enship.co.kr/image/mcd7-5.gif" width=63 height=50></a>
</td>
<td><a href="#" onMouseOver="('http://enship.co.kr/image/mcd7-3.gif',3)"><img border=0 alt="Changing image..." src="http://enship.co.kr/image/mcd7-6.gif" width=50 height=63></a>
</td>
</tr>
</table>
이소스는 어떤까페에서알려준 소스를 이미지경로만 바꾼것입니다.
이것도 잘못된소스인가요?
그사람은 이소스로 잘되던데...
<!--
if (document.images) {
img1_open = new Image();
img2_open = new Image();
img3_open = new Image();
img1_open.src = "img1.jpg";
img2_open.src = "img2.jpg";
img3_open.src = "img3.jpg";
}
function over(i,j)
{
if (document.images)
eval('document.img'+i+'.src=img'+j+'_open.src');
}
//-->
</script>
<table width="300" height="250" border="1" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img name=img1 border=0 src="http://enship.co.kr/image/mcd7-1.gif" width=250 height=200>
</td>
</tr>
<tr>
<td><a href="#" onMouseOver="('http://enship.co.kr/image/mcd7-1.gif',1)"><img border=0 alt="Changing image..." src="http://enship.co.kr/image/mcd7-4.gif" width=63 height=50></a>
</td>
<td><a href="#" onMouseOver="('http://enship.co.kr/image/mcd7-2.gif',2)"><img border=0 alt="Changing image..." src="http://enship.co.kr/image/mcd7-5.gif" width=63 height=50></a>
</td>
<td><a href="#" onMouseOver="('http://enship.co.kr/image/mcd7-3.gif',3)"><img border=0 alt="Changing image..." src="http://enship.co.kr/image/mcd7-6.gif" width=50 height=63></a>
</td>
</tr>
</table>
이소스는 어떤까페에서알려준 소스를 이미지경로만 바꾼것입니다.
이것도 잘못된소스인가요?
그사람은 이소스로 잘되던데...
img2_open.src = "img2.jpg";
img3_open.src = "img3.jpg";
위에 소스에 이미지명을 보시구요..
사용자 소스엔 이미지명이 전혀 틀린거 같네요..
소스를 알려준 분에게 적용방법을 문의해 보세요..