Hi @shauncy, thanks for your post. I took a look at the published site, and if you really must use javascript, then and I see two things for you to check next:
A. Move the code from your header of your site, to the footer. The code you have in the header is trying to run, but no jquery is yet loaded, thus causing an error:
I would put the following code in the Footer of your site, instead of the Header:
<script type="text/javascript">
(function($) {
$(document).ready(function(){
$(window).scroll(function(){
if ($(this).scrollTop() > 200) {
$('.floatingmenu').fadeIn(500);
} else {
$('.floatingmenu').fadeOut(500);
}
});
});
})(jQuery);
</script>
B. There is also an extra line trying to load the latest jQuery. You should not need this line, you can remove it
<script src="https://code.jquery.com/jquery-latest.js"></script>
jQuery is already baked in to Webflow, so no need to add it twice.
I would check those things first, then save and republish your site. After republishing, you can troubleshoot the script by using Chrome Browser, right click on the page and choose Inspect Element, then click on the Console tab and see if there are any errors.
Otherwise, I would definitely use the Webflow interactions for creating your Scroll Nav 