I think you have an attribute src
and javascript inside your script tag. This should be split into 2 script tags.
Typically, you post as: (although this may not be a problem)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script>
$(document).ready(function () {
if ($('body')[0].scrollTop / $('body')[0].scrollHeight > 0.29) {
$(".over_one").fadeIn(2000);
} else {
$(".over_one").fadeOut(1);
}
});
</script>
Filype
source
to share