设html描点:
<div id="bigImgTopPosition"></div>
js代码:
<script type="text/javascript">
// 根据设的描点bigImgTopPosition,让页面进来就会把大图置顶
$("html,body").animate({scrollTop:$("#bigImgTopPosition").offset().top});
</script>
设html描点:
<div id="bigImgTopPosition"></div>
<script type="text/javascript">
// 根据设的描点bigImgTopPosition,让页面进来就会把大图置顶
$("html,body").animate({scrollTop:$("#bigImgTopPosition").offset().top});
</script>