Topic: Parallax not working
                  
                  dcoderk
                  priority
                  asked 6 years ago
                
Expected behavior Parralax not working even I copy the file from mdb editor https://mdbootstrap.com/snippets/jquery/dcoderk/440685
how can i make it work do i need to add this js file? if so where and how?
// object-fit polyfill run
objectFitImages();
/* init Jarallax */ jarallax(document.querySelectorAll('.jarallax'));
jarallax(document.querySelectorAll('.jarallax-keep-img'), { keepImg: true, });
Actual behavior
Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Opened
Specification of the issue
              - ForumUser: Priority
 - Premium support: Yes
 - Technology: MDB jQuery
 - MDB Version: 4.7.4
 - Device: mobile, desktop
 - Browser: chrome,firefox,opera
 - OS: ubuntu 18.04, windows, mac
 - Provided sample code: No
 - Provided link: Yes
 
Piotr Glejzer staff commented 6 years ago
Is not working on your MDB Pro version? Do you have all files, correctly paths or some console errors?