Skip to content Skip to sidebar Skip to footer

'not Defined' Error With Masonry Javascript Plugin

I am using Vanilla Masonry (the raw JS, non-jQuery version) as follows: In head: In

Solution 1:

I looked at the masonry.js code.

You need to move the reference to the masonry file to the bottom of your page (before the closing body tag).

Or at least beneath the opening body tag.

Its trying to appendChild to the body tag which hasn't loaded in the head section.

Post a Comment for "'not Defined' Error With Masonry Javascript Plugin"