lorenzo
Posts: 0
Joined: Fri Feb 08, 2013 3:50 am

How to control scrolling of a specific page?

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?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to control scrolling of a specific page?

Hello,

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

Return to “Issues”