Hi i want to check the scroll position , like if its greater than 200 from top they it may generate a popup for signup
<script>
jQuery(document).ready(function($) {
// hide #back-top first
// fade in #back-top
$(function() {
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
alert(123);
} else {
alert(321);
}
});
});
});
</script>
i use that code , but its not generating any alert....