views:

51

answers:

1
function loaded() {
    document.addEventListener('touchmove', function(e){ e.preventDefault(); });
    myScroll = new iScroll('scroller');
}
document.addEventListener('DOMContentLoaded', loaded);

If its possible...
Thanks :)

+2  A: 
$(function() {
    $(document).bind('touchmove', function(e) { e.preventDefault(); });
    var blah = new iScroll('scroller');
});

i believe this would work.

meder
What about this part?document.addEventListener('DOMContentLoaded', loaded);
cat
Nevermind, I think I got it, Thanks! :)
cat