复制代码代码如下:
<!doctype html>
<html>
<head>
<メタcharset = "utf-8">
<Meta name = "description" content = "this" />
<Meta name = "keywords" content = "this" />
<title> this </title>
<script type = "text/javascript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"> </script>
<style type = "text/css">
ボディ{マージン:0;パディング:0;}
.hover {float:left; position:relative; margin:0 auto; padding:0; }
.hv {position:absolute;左:0; TOP:0;表示:なし; }
</style>
<script type = "text/javascript">
$(function(){
$('。HOVER ')。ホバー(
関数 (){
$('。hv ')。stop()。fadeto(' slow '、1);
}、関数() {
$('。hv ')。stop()。fadeto(' slow '、0);
}
))
})
</script>
</head>
<body>
<div>
<img src = "http://img.vip.xunlei.com/img/banner/201303181424386268.jpg" width = '100px' height = '100px'>
<img src = "http://www.baidu.com/img/shouye_b5486898c692066bd2cbaeda86d74448.gif" width = '100px' height = '100px'>
</div>
</body>
</html>