<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<style type="text/css">
#IMGBOX img{
width:80px;height:80px;margin-right:10px
}
</style>
<a href="javascript:;" onclick="$('#IMGBOX img').css({width:100,height:100})">
100*100</a> <a href="javascript:;" onclick="$('#IMGBOX img').css({width:50,height:50})">
50*50</a> <a href="javascript:;" onclick="$('#IMGBOX img').css({width:'',height:''})">原始</a>
<div id="IMGBOX">
<img alt="" src="http://center.blueidea.com/data/avatar/000/50/34/69_avatar_small.jpg" /><img alt="" src="http://center.blueidea.com/data/avatar/000/50/34/69_avatar_small.jpg" /><img alt="" src="http://center.blueidea.com/data/avatar/000/50/34/69_avatar_small.jpg" />
</div>
控制DIV内图片大小
最新推荐文章于 2023-02-07 17:22:30 发布

2564

被折叠的 条评论
为什么被折叠?



