javascript - Image cropping with scrollbar - JQuery Issue on Mobile device -


i developing asp.net (c#) webpage. accessing on mobile. image displayed in asp image control scrollbar. after cropping need crop image. code is

<asp:image id="imgcrop" runat="server" />  

for scrollbar, external jquery used (overflow & panel scrollbar not supported in mobile)

 $(function () {         $('.scroll-pane').jscrollpane();     }); 

i using "jquery.jcrop.js"" jquery image cropping , assign contol

      jquery('#imgcrop').jcrop({          onselect: storecoords     });  

here, below code used display asp.net image jscrollbar

            <div class="scroll-pane">            <asp:image id="imgcrop" runat="server" />                              </div> 

css:

.scroll-pane{ width: 400px; height: 200px; overflow: auto; } 

i used above code. can able see scrollbar in mobile. once upload image, scrollbar showing. problem when i trying move scrollbar, cropping take place instead of scroll image. think jquery overlapped. how resolve issue?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -