[英]Scrolling a large Image in HTML - PhoneGap - Windows phone 8
I have a large image that i want the user to scroll, when i add the image normally in an img tag it scrolls up and down normally but it don't scroll right or left. 我有一个大图像,我希望用户滚动,当我在img标签中正常添加图像时,它会正常上下滚动,但不会向右或向左滚动。
<div id="map">
<img src="someimage" alt="map" width="1980" height="889">
</div>
This code work on windows phone 8 by scrolling up and down but not left and right. 该代码在Windows Phone 8上通过上下滚动而不是左右滚动而起作用。
Thanks in advance. 提前致谢。
overflow:scroll;
在div的CSS中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.