36
rated 0 times
[
40]
[
4]
/ answers: 1 / hits: 38421
/ 11 Years ago, sun, april 21, 2013, 12:00:00
I have a html5 canvas. I need to show the fixed portion of it in the div(Div1
). When I swipe inside Div1
, I need to scroll the canvas. So as I scroll, I'll see corresponding part of the canvas.
I tried something like this:
<div id=Div1 style= float: left; width: 50px; overflow:hidden; >
<canvas id=myCanvas1 width=200px style=border: 1px solid #ff0000; position: absolute;>
</canvas>
</div>
More From » jquery