scroll - Forum

Forum Navigation
You need to log in to create posts and topics.

scroll

how can we move up or down the scroll by clicking a button?

Use the AppScrollTo action.

I need that inside the container...

BeginJS
$("#Container1").scrollTop(position);
EndJS

 

that's great..

Here I have one more question.

How can we get the current position of a container's scroll?

BeginJS
$App.myvar=$("#Container1").scrollTop();
EndJS

In general you can use any JQuery command.

asmat has reacted to this post.
asmat

Is it possible we store live the result in a textinput?

I meant when we are changing the scrollbar position, Simultaneously the value of the textinput should be change.

Yes, in my example, you just need to use [myvar] into the textinput variable property.

asmat has reacted to this post.
asmat