2011-03-10 76 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