4

I have a cool function set up like this with iscroll,

var iscroll = {....
  main: {...
     init: function() {...
     page_iscroll = new iScroll(...) {} 

the question is how do i setup an initial y scroll position for the iscroll object, when it's initialized?

kangoroo
  • 359
  • 2
  • 10

1 Answers1

2

there it is, the answer

page_iscroll.scrollTo(x,y);

kangoroo
  • 359
  • 2
  • 10