代码如下:
<head>
<title></title>
<meta charset="utf-8">
<style type="text/css">
.focus{
width:300px;
position:relative;
}
.btn{
position:absolute;
right:0px;
bottom:0px;
}
input{
width:25px;
height:25px;
background:#d9ffff;
}
</style>
</head>
<body>
<div class="focus">
<div><img src="image/1.jpg" width="350" height="250" id="myimg"></div>
<div class="btn">
<input type="button" name="btn" value="1" onclick="changeImg(1)">
<input type="button" name="btn" value="2" onclick="changeImg(2)">
<input type="but