deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Scroller

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Scroller

Hello -

Please clarify what you want to do with scrollbar?

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Scroller

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?

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Scroller

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

outerWidth() = moving scroller width

i fixed this

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Scroller

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)) {
}

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Scroller

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.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Scroller

Please specify what device you use to test.

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Scroller

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

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Scroller

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")

Return to “Issues”