Thanks for the kind words! First it would help to see an example project your working on to help me get you set with this particular plugin. Please share a project your working on.
So I am new to webflow and I just wanted to get in there and get used to the interface. I saw your site and liked the parallax so decided to try and build one of your project pages. So I don’t have a specific project that I am working on right now but know that understanding how the plugin gets implemented in webflow and which elements go where would be very helpful.
I was able to get the data attributes plugged into the h1 section. I uploaded the js files to dropbox to pull the link from there. Im not quite sure how the actual image gets pulled and where you put the html/css code to pull it.
So any step by step would be great or just clarification.
hahah no problem, My site is not really a good example of how to use the plugin because I’m doing a few custom techniques for some specific reasons. So why not try a brand new document:
Create New Div and give class name “parallax” (Can be any name i’m using this for reference). Set height to 100%. Because we have no other elements in our docuemnt i’ve also added 100% bottom margin so we can see Parallax effect.
Upload a new picture to media library that you want to use as the Parallax image. Click on image to bring up Image Details and click the link icon to open the image in the browser. Take Note of Image URL. Copy and paste for later use.
Switch back to Webflow Designer and select our parallax Div. Now click into Setting Tab. The plugin we are using requires us to use custom data attributes. So click the plus symbol to create a new entry.
We need to create two entries. - data-parallax = scroll - data-img-src = (copy and paste img url from previous section) For more information on this please read documentation here: Parallax.js | Simple Parallax Scrolling Effect with jQuery
You can now publish and go back into the Webflow Project settings page selecting the “Custom Code” tab. In the footer add this script to call the plugin into our document.
(Download the js file and host on your on web hosting server somewhere other than Github... this is just a link to github repository for testing)
I’m not sure why, but the parallax isn’t working. I uploaded the file to Dropbox and changed the link accordingly and changed all of the settings that he mentioned. I’ll keep trying stuff.