Wow, very neat stuff! Thanks for all your work, guys! :-)
Kind of a noob question, how would I add hoverIntent to an Accordion?
I started by bringing
http://wiquery-plugins.googlecode.com/svn-history/r146/trunk/wiquery-plugins/other-plugins/src/main/java/com/wiquery/plugin/superfish/js/HoverIntentJavaScriptResourceReference.java
and it's associated .js into my project, then created the following:
private static class HoverIntentAccordion extends Accordion {
public HoverIntentAccordion() {
super("accordion");
getOptions().putLiteral("event", "hoverIntent");
}
@Override
public void contribute(WiQueryResourceManager
wiQueryResourceManager) {
super.contribute(wiQueryResourceManager);
wiQueryResourceManager.addJavaScriptResource(HoverIntentJavaScriptResourceReference.get());
}
}
This isn't correct though. Am I missing something simple or do I have
to hack the js for Accordion? I looked at it in comparison to the
Superfish js (which has conditional logic for hoverIntent), but
nothing stood out that I should modify.
Kind regards, Brian