Page 1 of 1

How to control scrolling of a specific page?

Posted: Fri May 02, 2014 9:49 am
by lorenzo

I have this code....
$(window).scroll(function(e) {
if($(window).scrollTop() =50)) {
$(window).scrollTop(50)
}
});

when put on event...run javascript....the effect is that all the pages scroll stops to a certain point as said 50...so my question is that, how do I use the given above to have its effect only at a specific page only eg. startScreen?


How to control scrolling of a specific page?

Posted: Fri May 02, 2014 11:09 am
by Serhii Kulibaba

Hello,

Is "Render all pages in one HTML file" checked in settings of your app? What event do you use for this code?