First of all, I apologise if I am straying from the topic of this
thread too far. That said, I'm probably going to stray a touch further
still though 0:) but hopefully my comment may be of use to us
menu-interested folks anyway.
@tunnel,
Thanks very much for the feedback. I have done some work on addressing
your suggestions - here are the results:
1) Variable width submenus. I began creating a separate plugin for
this a while ago when this functionality was first requested. I hit a
wall and put it on the back-burner, but your prompt has motivated me
to finish it. You can check out a simple demonstration here:
http://users.tpg.com.au/j_birch/plugins/autoSubWidth/and the heavily commented plugin code is here:
http://users.tpg.com.au/j_birch/plugins/autoSubWidth/autoSubWidth.jsThis plugin works on suckerfish-style menus, not just Superfish. It
needs to be called prior to further plugins like this:
$('ul.nav').autoSubWidth();
or like this if you want to use Superfish with it:
$('ul.nav').autoSubWidth().superfish();
Please check out the code to see what options are available.
I have tested autoSubWidth with FF3, IE6, IE7, Safari 3 and Opera 9.5
and it works in all of them. However, I have only tested the type of
menu shown on the example page. Please feel free to report bugs to
this list and place either 'Superfish' or 'autoSubWidth' in the
subject line so my alert picks it up.
2) Dynamic positioning of submenus. I collaborated with Jesse Klasse
on a solution for this and our work as it currently stands - along
with a fairly detailed description - can be found here:
http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test/I doubt Supposition will work correctly with the autoSubWidth plugin
as I have not tested them together as yet.
I prefer to create separate plugins for these enhancements rather than
bloating Superfish. Please let me know if you have further feedback
regarding any of this - we should probably discuss it in a new thread
though.
Joel Birch.