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