Cheung
Cheung

Reputation: 15552

jQuery function not work in blogger

I using a jQuery plugin - blocksit to create a PInterest like image album. But it not work after i place the code to blogger, but work in JSBin.

Firebug show:

TypeError: $(...).BlocksIt is not a function $('#BIcontainer').BlocksIt({

I try to put the css and javascript between tag,

and read another SOF post said replace all "$" to "jQuery" but also occur same error.

Here is the JSBin demo: http://jsbin.com/joweqilume/1/

And it is my blogger page: http://justpmp.blogspot.hk/p/pmp-useful-articles-list.html

Upvotes: 0

Views: 113

Answers (1)

Raptor
Raptor

Reputation: 54212

The problem is, you have 2 instances of jQuery linked in the same page:

  • v1.7.1 (line 1021)
  • v1.8.4 (line 1269)

Remove either one to resolve the issues. Not recommend to use .noConflict() in double installation environment.

Upvotes: 2

Related Questions