<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>值得推荐的无限缩小放大图片功能</title>
</head>
<body>
<input type="button" value="缩小" onclick="small1()">
<input type="button" value="放大" onclick="big1()">
<img border="0" name=images1 src="/images/logo.gif">
<script>
function small(){
var height1=images0.height
var width1=images0.width
images0.height=height1/1.5
images0.width=width1/1.5}
function big(){
var height1=images0.height
var width1=images0.width
images0.height=height1*1.5
images0.width=width1*1.5}
function small1(){
var height1=images1.height
var width1=images1.width
images1.height=height1/1.5
images1.width=width1/1.5}
function big1(){
var height1=images1.height
var width1=images1.width
images1.height=height1*1.5
images1.width=width1*1.5}
</script>
</body>
</html>
联系客服