Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Trigger event on specific scroll location

$
0
0

I want to trigger a specific event on a predefined scrollTop value.

I tried:

 

 

$(window).scroll(function () {    sym.$("scrpst").html($(window).scrollTop())


var nerde = sym.getVariable("scrpst");


if ( nerde == 200 ){
sym.$("floatmenu").show();
}else if ( nerde == 400 )
sym.$("floatmenu").hide();
}


})

 

where am I doing wrong?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 9897

Trending Articles