Hi Jason,
I've come across an intermittant bug in the addHoverClass method. I've picked up in some instances 'el' is null which causes addHoverClass to throw an error. I'm not sure what causes this but by applying the following change I have fixed the problem and there doesn't seem to be any side effects:
Code:
function addHoverClass() {
// Check if el is not null before adding the hoverClass
if (el) el.className += hoverClass;
}
Unfortunately, the code where the bug arose is too convoluted to post here but essentially it is a single tier suckerfish menu contained within a RUZEE.LayoutManager framework (
http://www.ruzee.com/blog/ruzeelayoutmanager/). The net result is a "ribbon strip" similar to the one in MS Office 2007. PIE is added to the hover effect to make the LI elements look rounded.
Thanks
David