I colored my list view header with custom colors:
$ ("div.ms-vh-div[displayname='"+entry+"']").parent().css("background-color","#ccffff"); $ ("div.ms-vh-div[displayname='"+entry+"']").parent().css("color","#000000"); $ ("th[title='"+entry+"']").css("background-color","#ccffff");
and when I hover mouse over th element my color is replaced by default highlight color and when I move mouse out that color is changed to transparent. Is there any way how to unbind these “highlights” events from list view header?
I tried:
var hoverMenuItems = $ ('th'); hoverMenuItems.each(function(index, val) { $ (this).unbind('mouseout').unbind('mousemove'); });
But it doesn’t work.
Thank you for advice.