Fullpage.js Lets solve this once and for all together!

@AlexManyeki
Can you weigh in on that?

@ToreSBentsen @marsh
im familiar with the scrollbar:true workaround.
Im trying to figure out the code way of doing it using callbacks.

1 Like

Hi @Nir totally understand you are looking at how to overcome this with callbacks, so sorry to keep going here with the scrollBar:true workaround :slight_smile:

Just wanted to demonstrate @ToreSBentsen suggestion of some CSS to remove the scrollbar so you end up with the overall design you are looking for and the ability to add scroll triggered interactions. Hereā€™s the updated demo link with scroll bar removed in Chrome

Based on skimming the above thread, have you considered adding tiny divs (positioned absolute and evenly distributed from top-to-bottom of body), that act as interaction triggers?

Trigger implementation would be similar to this: https://webflow.com/website/Webflow-Sticky-Sections

Alternatively, here is another route: https://webflow.com/website/Advanced-Slider-with-Fullpagejs

Hi @marsh, no worries, your demo looks good though. Cloneable link?

Hi @Cjh I gave that a try just now but doesnā€™t seem to be working.

The second link I shared is only using Webflow interactions to animate the scroll transition.

Another old experimental example thatā€™s using only fullpage.js with 100% Webflow Interactions:

Designer Preview

Live Site (works on desktop only)

Hereā€™s a cloneable link to the demo I created as requested @Nir :slight_smile:

1 Like

Im not sure why but when I replace the code i have on my example to your code it doesnā€™t work fully.
I can still see the scrollbar.

@Nir are you using Firefox or Chrome?

Chrome.
seems like everything else works well, just that the scrollbar is still there.

Have you added the following to page head code (above the css for fullPage JS in clone)?

<style>
.body {
  /* These rules create an artificially confined space, so we get 
 a scrollbar that we can hide. They are not directly involved in 
 hiding the scrollbar. */

  border: none;
  padding: .5em;
  
  white-space: pre-wrap;
  height: 5em;
  overflow-y: scroll;
}

.body{
  /* This is the magic bit for Firefox */
  scrollbar-width: none;
}

.body::-webkit-scrollbar { 
  /* This is the magic bit for WebKit */
  display: none;
}
</style>

Note, the Firefox scrollbar hide doesnā€™t seem to work anymore, not sure if anyone knows how to remove it using CSS??

Yup, I used your code from the clone.

Can you share preview link with me, Iā€™ll take a look

https://preview.webflow.com/preview/numbers-85a700-c6d0583178672699d6cf21e3?utm_source=numbers-85a700-c6d0583178672699d6cf21e3&preview=044e59e175165698cc14c90f81b4dd79

Try adding class of Body to the body element, the code to hide scroll bar on chrome is calling on class of body so this needs to be set. Should work after this is added.

Magic @marsh :slight_smile:

Can confirm this script works perfectly with Scroll Into View interactions - weā€™ve got this going on our company website with scrollBar:true. Combine that with the CSS at the bottom of this thread, and youā€™re set.

Hi @Cjh
Can you share a cloneable link to this?

This btw works like a charm! Any way I can create buttons that will link to specific slides?
https://webflow.com/website/Scroll-Trigger-Slider

Hey! So I havenā€™t really been experiencing any issues at all or seen the need to add a faux wrapper of any kind with scroll based interactions using fullpage as long as scrollBar: true, and normalScrollElements: ā€˜#scrollableā€™ are added.

However, what about these same interactions being triggered when the arrow keys are being used or thereā€™s a side navigation such as on the tesla.com website?

Any thoughts here?

I see that @marsh has it working on his example, but that the scrolling is super jittery for some reason.