0
我在'新聞股票'jquery插件有問題。 當我將鼠標放置在新聞標題他們的鏈接是一樣的東西[目標對象]新聞股票jquery插件問題
這裏我把我的代碼:
http://bitcont.com/test/news-ticker/
是什麼問題?
我在'新聞股票'jquery插件有問題。 當我將鼠標放置在新聞標題他們的鏈接是一樣的東西[目標對象]新聞股票jquery插件問題
這裏我把我的代碼:
http://bitcont.com/test/news-ticker/
是什麼問題?
你沒有做錯任何事;我認爲插件本身存在一個錯誤。在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
補丁,然後也許讓開發商知道嗎?
謝謝you.i看看插件代碼並更改了newsAttributes [newsItemCounter] = linkAttributes; (第129行)至newsAttributes [newsItemCounter] = linkAttributes [attrs [0] .nodeName];現在就可以了。我還向開發者發送了一個消息來報告錯誤及其解決方案。 – 2011-03-10 09:11:13