Friends,
Instead of manually init'ing every single instance:
$("#MyChildId1").find("ul.sf-menu").superfish({ delay: 100, speed: 'fast' });
$("#MyChildId2").find("ul.sf-menu").superfish({ delay: 100, speed: 'fast' });
$("#MyChildId3").find("ul.sf-menu").superfish({ delay: 100, speed: 'fast' });
I would like to use multiple (and dynamic) instances of a jQuery plugin (Superfish) and init them with one call on the parent using Event Delegation:
$("#MyParentId").find("ul.sf-menu").superfish({ delay: 100, speed: 'fast' });
But this doesn't work, even though the doc says it now uses Event Delegation on: http://users.tpg.com.au/j_birch/plugins/superfish/
Last bullet item: "•Uses event delegation as of v1.5.1 for greater performance and flexibility."
Any jQuery Geniuses know what's up?