Page 1 of 2

Scroller

Posted: Sat May 31, 2014 12:16 pm
by deveu

ScrollLeft() of last scroller
or scroller width which is moveing i need to know
any way to know this?


Scroller

Posted: Sat May 31, 2014 2:09 pm
by Illya Stepanov

Hello -

Please clarify what you want to do with scrollbar?


Scroller

Posted: Sat May 31, 2014 2:26 pm
by deveu

I have a horizontal scrollbar
I am moving this to left & right
when that will touch to right
I need to perform an action

for left
if ($("[name=reward_div]").scrollLeft() 0) {

}

i am doing this

how will i know that is touching to right?


Scroller

Posted: Sat May 31, 2014 5:29 pm
by deveu

if ($("[name=reward_div]").scrollLeft() < (width - $("[name=reward_div]").outerWidth()-1)) {
}

outerWidth() = moving scroller width

i fixed this


Scroller

Posted: Mon Jun 02, 2014 9:44 am
by deveu

Hi in the web browser the stroller is working nice to reach the right side and getting action.
but in appery app that is not working

if ($("[name=reward_div]").scrollLeft() < (width - $("[name=reward_div]").outerWidth()-1)) {
}


Scroller

Posted: Mon Jun 02, 2014 10:29 am
by Evgene Karachevtsev

Hello Deveu,

Could you please clarify what OS version is on your device? Please, provide a public link to your project and specify steps to reproduce this issue (http://devcenter.appery.io/documentat...). We'll test it.


Scroller

Posted: Mon Jun 02, 2014 11:10 am
by deveu

Scroller

Posted: Tue Jun 03, 2014 12:11 am
by Alena Prykhodko

Please specify what device you use to test.


Scroller

Posted: Tue Jun 03, 2014 12:33 am
by deveu

I am testing using ipad 1 ios 5.1.1 and also ipad 2 ios 7.1.1


Scroller

Posted: Tue Jun 03, 2014 12:46 am
by deveu

I have made the link public.
http://appery.io/app/view/2aa23e01-a1...

Here are the steps:
1) click login
2) using keypad enter number 0412345670
3) at the bottom click the button marked "right" which will make the boxes scroll.
Scroll will end when "Last box" is displayed and the "right" button should become inactive and turn grey (this work with the left button when you scroll left and reach the "First box")