在ie8上查看页面时出现以下错误:任何解决方案?
网页错误详情
用户代理:Mozilla/4.0(兼容;MSIE 7.0;Windows NT 5.1;InfoPath.2;BRI/2;BOIE8;ENUS)时间戳:2012 年 8 月 23 日星期四 18:18:49 UTC
消息:预期的标识符、字符串或数字行:357 字符:4 代码:0
$(function(){
var $container = $('.two-thirds-cloumn');
$('.widgets-cout').masonry({ singleMode: true });
$container.imagesLoaded(function(){
$container.masonry({
itemSelector: '.brick',
columnWidth: 485
});
});
$container.infinitescroll({
navSelector : '.nav-previous', // selector for the paged navigation
nextSelector : '.nav-previous a', // selector for the NEXT link (to page 2)
itemSelector : '.brick', // selector for all items you'll retrieve
loading: {
finishedMsg: 'No more pages to load.',
img: 'http://i.imgur.com/6RMhx.gif'
},
behavior: 'twitter',
},
// trigger Masonry as a callback
function( newElements ) {
// hide new items while they are loading
var $newElems = $( newElements ).css({ opacity: 0 });
// ensure that images load before adding to masonry layout
$newElems.imagesLoaded(function(){
// show elems now they're ready
$newElems.animate({ opacity: 1 });
$container.masonry( 'appended', $newElems, true );
});
}
);
});