묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
답변좀 부탁드립니다.
2004.08.18 07:11
<head> </head> 사이에 소스를 삽입하세요.
<style type="text/css">
.item{font-family:lucida console;font-size:9pt;FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=0.75); FONT: 9pt/1.3 verdana; WIDTH:100px; COLOR: black; HEIGHT: 12px; BACKGROUND-COLOR:#424242;text-align:center;color:white;cursor:hand;"}
</style>
<script>
//////////////////////////////////////////////////////////////////////////
// http://my.dreamwiz.com/jsreference
//////////////////////////////////////////////////////////////////////////
var textArr=new Array("메인으로~","윤미소개","게시판","자료실");
var originArr=new Array("Main","Yoonmi","Board","DataBank");
function doTrans() {
var eSrc=event.srcElement
var idx=eSrc.cellIndex;
eSrc.filters[0].apply();
eSrc.innerText=textArr[idx];
eSrc.style.background="#E71018";
eSrc.filters[0].play();
}
function rollback(){
var eSrc=event.srcElement;
var idx=eSrc.cellIndex;
eSrc.innerText=originArr[idx];
eSrc.style.background="#424242";
}
</script>
<body> </body> 사이에 소스를 삽입하세요.
<table width=400 cellspacing=0 align="center">
<tr>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">Main</td>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">Yoonmi</td>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">Board</td>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">DataBank</td>
</tr>
</table>
윤미님 홈에서 요 메뉴소스를 받았는데 각 메뉴에 링크 거는법을 알수없네요.
어떻게 하면 될까요?
<style type="text/css">
.item{font-family:lucida console;font-size:9pt;FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=0.75); FONT: 9pt/1.3 verdana; WIDTH:100px; COLOR: black; HEIGHT: 12px; BACKGROUND-COLOR:#424242;text-align:center;color:white;cursor:hand;"}
</style>
<script>
//////////////////////////////////////////////////////////////////////////
// http://my.dreamwiz.com/jsreference
//////////////////////////////////////////////////////////////////////////
var textArr=new Array("메인으로~","윤미소개","게시판","자료실");
var originArr=new Array("Main","Yoonmi","Board","DataBank");
function doTrans() {
var eSrc=event.srcElement
var idx=eSrc.cellIndex;
eSrc.filters[0].apply();
eSrc.innerText=textArr[idx];
eSrc.style.background="#E71018";
eSrc.filters[0].play();
}
function rollback(){
var eSrc=event.srcElement;
var idx=eSrc.cellIndex;
eSrc.innerText=originArr[idx];
eSrc.style.background="#424242";
}
</script>
<body> </body> 사이에 소스를 삽입하세요.
<table width=400 cellspacing=0 align="center">
<tr>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">Main</td>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">Yoonmi</td>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">Board</td>
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()">DataBank</td>
</tr>
</table>
윤미님 홈에서 요 메뉴소스를 받았는데 각 메뉴에 링크 거는법을 알수없네요.
어떻게 하면 될까요?
댓글 2
-
임창남
2004.08.18 10:19
<td width=100 class="item" onmouseover="doTrans()" onmouseout="rollback()" onclick="location.href='http://www.idsu.net'">Main</td> -
無題
2004.08.18 16:08
onclick="location.href='http://www.idsu.net'" 요렇게 링크 거는거네요..
감사합니다 ..