我有superzied.js 3.2.7和jquery 1.10.1和迁移插件1.2.1,在火狐中我得到错误:
TypeError: api.getField(...) is undefined这一行是:
if (api.getField('seed').indexOf('no_image.png') != -1) actual_width = '';在Chrome中也存在同样的问题:Uncaught TypeError: Cannot call method 'indexOf' of undefined.
我已经找到了这个,但是我做的一切都是正确的:https://github.com/buildinternet/supersized/issues/30
发布于 2014-02-17 17:00:59
api.getField函数在supersize.xx.xx.js中定义,如下所示(您需要检查此函数是否在supersize....js上标记为禁用或已删除)
base.getField = function(field){
return base.options.slides[vars.current_slide][field];
};https://stackoverflow.com/questions/17471733
复制相似问题