롤오버 그림
페이지 정보
작성자 최고관리자 작성일 21-02-10 17:28 조회 7,742 댓글 0본문
롤오버 그림
<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>
댓글목록 0
등록된 댓글이 없습니다.