嗨,我有coda滑块在Chrome,FF,IE 9中工作得很好,但在IE 6-8中它不能工作javascript调试器说这行代码:
$container.css('width', $panels[0].offsetWidth * $panels.length);它说:
Unable to get value of the property 'offsetWidth': object is null or undefined如果能帮上忙,我将不胜感激
发布于 2012-06-15 20:12:55
尝试使用outerWidth() (jQuery方法)而不是offsetWidth。
https://stackoverflow.com/questions/11050332
复制相似问题