Can’t use javascript variable inside nested function (jquery masonry plugin)

I want to use a javascript variable to calculate the columnWidth variable of the jQuery Masonry plugin. When I view source on my page, I see the variable name in the javascript rather than the variables value.

http://jsfiddle.net/robflate/fS2yL/

Thanks

newest questions tagged jquery – Stack Overflow

About Admin