【发布时间】:2012-03-13 01:25:26
【问题描述】:
我收到无效参数错误,无法弄清楚是什么原因造成的。
希望有人可以帮助我。
在这段(可能)代码之后脚本停止运行:
if (type == "all") {
var classe = target.substring(1) + '-' + color + '-bottom';
$(target).after('<div class="' + classe + ' block"></div>');
$('.'+classe).css({
'height' : colors[color].botHeight,
'background-image': "url(" + url + colors[color].bot + ")",
'background-repeat': 'repeat-x'
});
$('.'+classe).offset({left: 0});
$('.'+classe).width($(window).width());
}
完整脚本:http://www.mochilao.syncmobile.com.br/wp-content/themes/headway/custom.js (抱歉弄乱了)
【问题讨论】:
标签: jquery css internet-explorer invalid-argument