【发布时间】:2012-08-16 23:02:17
【问题描述】:
想知道该怎么做。谷歌搜索,但似乎找不到任何东西。我正在为 JQuery 使用 Cycle Plugin,并且在所有浏览器中都运行良好,当然 IE 除外。在 IE 6、7 和 8 中也存在同样的问题。
引用我的 js 文件第 13 行的预期标识符、字符串或数字。有人知道在这里做什么吗?
js文件:
$(document).ready(function() {
$('.slideshow').cycle({
speed: 200,
timeout: 15000,
pager: '#tabs',
pagerEvent: 'mouseover',
pauseOnPagerHover: true,
pagerAnchorBuilder: function(i, slide){// callback fn for building anchor links: function(index, DOMelement)
return '<a href="path-to-link"><img src="../images/tabback.png' + slide.src + '" height="47" width="189" /></a>';
},
}); <------THIS IS LINE 13
});
【问题讨论】:
标签: javascript jquery html css