롤오버 그림
페이지 정보
본문
롤오버 그림
<script language="JavaScript">
<!--
function exchange_src()
{
str = exchange_src.arguments[0];
str = (navigator.appName == 'Netscape') ? 'document.' + str : 'document.all.' + str;
img = eval(str);
if (img) {
if (img.ori_src == null) {
img.ori_src = img.src;
img.src = exchange_src.arguments[1];
} else {
var temp = img.src;
img.src = img.ori_src;
img.ori_src = temp;
}
}
}
function preload_img()
{
var img_list = preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i];
}
}
//-->
</script>
<body onload="preload_img('http://www.jjjboard.com/images/bskani.gif', 'http://www.jjjboard.com/images/bskani.gif')" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
<table>
<tr>
<td width="143"><p><a href="#" onmouseover="exchange_src('image1', 'http://www.jjjboard.com/images/riskbanner.gif')" onmouseout="exchange_src('image1')"><img src="http://www.jjjboard.com/images/bskani.gif" width="143" height="30" border="0" name="image1"></a></td>
</tr>
<tr>
<td width="143"><p><a href="#" onmouseover="exchange_src('image2', 'http://www.jjjboard.com/images/riskbanner.gif')" onmouseout="exchange_src('image2')"><img src="http://www.jjjboard.com/images/bskani.gif" width="143" height="30" border="0" name="image2"></a></td>
</tr>
</table>
<script language="JavaScript">
<!--
function exchange_src()
{
str = exchange_src.arguments[0];
str = (navigator.appName == 'Netscape') ? 'document.' + str : 'document.all.' + str;
img = eval(str);
if (img) {
if (img.ori_src == null) {
img.ori_src = img.src;
img.src = exchange_src.arguments[1];
} else {
var temp = img.src;
img.src = img.ori_src;
img.ori_src = temp;
}
}
}
function preload_img()
{
var img_list = preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i];
}
}
//-->
</script>
<body onload="preload_img('http://www.jjjboard.com/images/bskani.gif', 'http://www.jjjboard.com/images/bskani.gif')" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
<table>
<tr>
<td width="143"><p><a href="#" onmouseover="exchange_src('image1', 'http://www.jjjboard.com/images/riskbanner.gif')" onmouseout="exchange_src('image1')"><img src="http://www.jjjboard.com/images/bskani.gif" width="143" height="30" border="0" name="image1"></a></td>
</tr>
<tr>
<td width="143"><p><a href="#" onmouseover="exchange_src('image2', 'http://www.jjjboard.com/images/riskbanner.gif')" onmouseout="exchange_src('image2')"><img src="http://www.jjjboard.com/images/bskani.gif" width="143" height="30" border="0" name="image2"></a></td>
</tr>
</table>
- 이전글스크롤 되는 공지사항만들기 21.02.10
- 다음글간단한 날짜 자리수 체크 21.02.10
댓글목록
등록된 댓글이 없습니다.