【发布时间】:2012-01-04 06:40:43
【问题描述】:
我相信这可能是用户在 cufon 中使用 hover 时最常见的问题之一。此外,可能有大量的解决方案,但我试图无济于事。请帮我。我遇到问题的网站是 [[here]]
jQuery(document).ready(function(){
jQuery('.menubar a').hover(function(){
jQuery('menubar a').css('color','#000000');
Cufon.refresh('menubar a');
},function(){ // this is the mouse out
jQuery('menubar a').css('color','#707070');
Cufon.refresh('menubar a');
});
});
我还尝试了几次使用 Cufon.refresh() 刷新 cufon 的尝试。悬停仍然不起作用。还有其他解决方案还是我错过了什么?
【问题讨论】: