how to initialize parallax

web
mobile

Topic: how to initialize parallax

Chajia pro asked 11 months ago

I tried initializing parallax in a separate java file called my.js by pasting the java code found in the basic structure given in https://mdbootstrap.com/docs/jquery/css/parallax/ . Now this throws the error my.js?ver=1.0.0:2 Uncaught ReferenceError: objectFitImages is not defined At this state, the parallax does not apply the clip style to the jarallax div. I guessed these two problems are linked.. any ideas? Thanks in advance!

Anna Morawska staff answered 11 months ago

Hi Chajia, please try to update your mdb version, it should help. Best, Ania

Sandro pro commented 11 months ago

Hi, i got the same issue, Uncaught ReferenceError: objectFitImages is not defined i have lasted version 4.5.14 PRo


Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.5.10
  • Device: Laptop
  • Browser: Chrome
  • OS: ElementaryOS
  • Provided sample code: No
  • Provided link: No
Tags