I have a page with some tiles laid out using the jQuery Masonry plugin. However i get an error in FF 4 and below:
$("#flextiles").masonry is not a function
I am tearing my hair out as to why it is not working, it works in every other browser - even IE6!!!
Anyone got any ideas?
Relevant code to load masonry plugin and init is:
function buildGrid() {
$('#flextiles').masonry({
itemSelector: 'li',
columnWidth: 235
});
}
$.getScript("http://bhuk.stage.arcadiagroup.ltd.uk/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color35/cms/templates/static/template-0000008049/js/masonry.min.js", function() {
buildGrid();
});