Hi Guys,
I am trying to implement the masonry plugin on my blog www.Iamvishal.com but I can't seem to get it working.

Below is my code. Any clues as to what I am doing wrong ?

$(window).load(function () {

$('#content').masonry({columnWidth: 185});

});

Cheers,
vishal

Vishalkhialani,

I wonder if it's because the images are wider than the column width?

Try experimenting by setting all the images to 185px or less.

Airshow

Hi,
It was a conflict issue I cannot use $(window) instead I had to use jQuery(document)

Its working now.

Cheers,
vishal

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.