news ticker jquery plugin problem
i have a problem in 'News ticker' jquery plugin. when i mouseover the news titles their link is something like [object object]
here i put my code:
http://bitcon开发者_开发技巧t.com/test/news-ticker/
what is the problem??
You're not doing anything wrong; I think there's a bug in the plugin itself. In runTicker, The plugin is printing out
// [object object]
tickerData.newsAttributes[tickerData.currentItem]
when it should be printing out either
// cached value of link.attr("href")
tickerData.newsLinks[tickerData.currentItem]
or
// cached value of the href HTML attribute
tickerData.newsAttributes[tickerData.currentItem].href
Patch it, and then maybe let the developer know?
精彩评论