Streaming live at 10am (PST)

Endless Scrolling causes troubles with mobile Navigation


#1

Hey folks.

After I installed the costum code for a continuous looping page like this: http://www.thefourthphase.com
My mobile Navigation doesn't expand anymore. The menu button is still there, but it does not show the menu.

I think the code cross path with some webflow code or features. So maybe someone can help me.

Btw. this ist the costum code I've entered in the :


<script>
$('document').ready(function() {
      var origDocHeight = document.body.offsetHeight;
      $("body").contents().clone().appendTo("body");
      $(document).scroll(function(){
          var scrollWindowPos = $(document).scrollTop(); 
          if(scrollWindowPos >= origDocHeight ) { 
              $(document).scrollTop(0); 
          }       
      });
  }); 
</script>

Thanks in advance.
Micha


#2

...oh...I've seen that the code was cut out. So here is a pic.


#3

I've seen another issue in my post. They've updated the page (The fourth phase). U can check the infinite scrolling here: jxsn.webflow.io


#4

Hi @mjerxsen, the issue with the menu button may or may not be with the custom code, but to be certain, is it possible for you to share the read-only link to your site? http://help.webflow.com/faq/how-do-i-share-my-sites-read-only-link

Thanks in advance!


#5

Hi

https://preview.webflow.com/preview/jxsn?preview=989672af4507de59c291517613d16ff0

There it is. Thanks for response.


#6

Hey!

I've shared the link. Could you find any solution?

Greetings from Germany


#7

Ok, seems to be a indifferent or insoluble issue. Hope someone can give me a hint sometime. :slightly_smiling:

Greetings
Michael (who still hopes)


#8

Hi @mjerxsen, thanks for following up, I am sorry for the delay, sometimes code issues can take some time to resolve as webflow built in features not using custom code take priority.

I will take a look to see if I can find anything new with this. As soon as I have some info, I will post back with an update.


#9