<div>
<div class="a">
A
</div>
</div>
$(window).scroll(function() {
if ($(this).scrollTop() > 0) {
$('.a').fadeOut();
} else {
$('.a').fadeIn();
}
});
Hope it is useful for someone 🙂Revisions
- January 26, 2022 @ 16:41:22 [Current Revision] by Sharing Solution
- January 26, 2022 @ 16:41:22 by Sharing Solution
Revision Differences
There are no differences between the January 26, 2022 @ 16:41:22 revision and the current revision. (Maybe only post meta information was changed.)
No comments yet.