Topic: Problems with parallax

Katja free asked 3 years ago


Hello,

today, I purchased MDB-Pro-Basic_4.19.1, trying to implement Parallax as you describe along with the snippet, does not work: contents are shown, but they don`t scroll as expected

http://schwarz-arbeit.com/blumen/dev/

thanks & best regards katja


Katja free answered 3 years ago


Thank you, Krzysztof,

now it works great !

how do i know which javascript i need for which snippet ? On the page with the Parallax Code it was not mentioned, or did I miss something ?

many greetings katja


Krzysztof Wilk staff commented 3 years ago

Hi!

You can find js code for every snippet in our documentation. But in the parallax, we forgot that this component requires ofi.js (file I wrote you to attach, it's a specific case), so we made a mistake :( I'm glad you reported this issue because now we can fix it :)

Best regards


Katja free commented 3 years ago

that is good, I was happy to help ! ;-)


Krzysztof Wilk staff commented 3 years ago

I'm glad I could help too :)

Best regards


Krzysztof Wilk staff answered 3 years ago


Hi!

You have to initialize your parallax after importing mdb js and add this line to import

<script type=“text/javascript” src=“src/js/vendor/pro/ofi.js”></script>

Now everything should work :)

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: desktop
  • Browser: all
  • OS: win / PC
  • Provided sample code: No
  • Provided link: Yes