Scroller
ScrollLeft() of last scroller
or scroller width which is moveing i need to know
any way to know this?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
ScrollLeft() of last scroller
or scroller width which is moveing i need to know
any way to know this?
Hello -
Please clarify what you want to do with scrollbar?
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?
if ($("[name=reward_div]").scrollLeft() < (width - $("[name=reward_div]").outerWidth()-1)) {
}
outerWidth() = moving scroller width
i fixed this
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)) {
}
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.
Please specify what device you use to test.
I am testing using ipad 1 ios 5.1.1 and also ipad 2 ios 7.1.1
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")