Parallax not working


Topic: Parallax not working

dcoderk asked 2 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.)


Piotr Glejzer staff commented 2 years ago

Is not working on your MDB Pro version? Do you have all files, correctly paths or some console errors?


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: 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
Tags