Tuesday 15 April 2014

turnjs - Any way to find double current pages in turn.js? -



turnjs - Any way to find double current pages in turn.js? -

my requirement display current double pages in next format:-

2-3 4-5

and done displaying singe page @ time there double page view.

2 @ 2-3 4 @ 4-5

any thought how fetch these current double pages in expected format? know can using adding logic, improve if internal logic of turnjs. because can happen single page comes cover page or lastly page. sure there must way find turnjs only. help appreciated... in advance.

i found solution.. there array name view holds page's numbers display. if there page 1 holds value view[0] =1 view [1]=0 if lastly page lets page 12 value in view view [0]=0 view [1]=12

and if @ 4-5 pages view [0]=4 view [1]=5

got solution :)

turnjs

No comments:

Post a Comment