2011-03-10 72 views

回答

1

你没有做错任何事;我认为插件本身存在一个错误。在runTicker,该插件打印出

// [object object] 
tickerData.newsAttributes[tickerData.currentItem] 

时应该打印出来或者

// cached value of link.attr("href") 
tickerData.newsLinks[tickerData.currentItem] 

// cached value of the href HTML attribute 
tickerData.newsAttributes[tickerData.currentItem].href 

补丁,然后也许让开发商知道吗?

+0

谢谢you.i看看插件代码并更改了newsAttributes [newsItemCounter] = linkAttributes; (第129行)至newsAttributes [newsItemCounter] = linkAttributes [attrs [0] .nodeName];现在就可以了。我还向开发者发送了一个消息来报告错误及其解决方案。 – 2011-03-10 09:11:13