1 | Changelog for Superfish - a jQuery menu plugin
|
---|
2 |
|
---|
3 | v1.2.1: altered 2nd July 07. added hide() before animate to make work for jQuery 1.1.3.
|
---|
4 |
|
---|
5 | v1.2.2: altered 2nd August 07. changed over function .find('ul') to .find('>ul') for smoother animations
|
---|
6 | Also deleted the iframe removal lines - not necessary it turns out
|
---|
7 |
|
---|
8 | v1.2.3: altered jquery 1.1.3.1 broke keyboard access - had to change quite a few things and set display:none on the
|
---|
9 | .superfish rule in CSS instead of top:-999em
|
---|
10 |
|
---|
11 | v1.3: Pretty much a complete overhaul to make all original features work in 1.1.3.1 and above.
|
---|
12 | .superfish rule reverted back to top:-999em (which is better).
|
---|
13 |
|
---|
14 | v1.3.1: altered 'li[ul]' to $('li:has(ul)') to work with jQuery 1.2
|
---|
15 |
|
---|
16 | v1.3.2: added onshow callback option as requested - 'this' keyword refers to revealed ul.
|
---|
17 | fixed bug whereby multiple menus on a page shared options. Now each menu can have separate options.
|
---|
18 | fixed IE6 and IE7 bug whereby under certain circumstances => 3rd tier menus appear instantly with text missing when revisited
|
---|
19 |
|
---|
20 | v1.3.3: altered event attachment selectors for performance increase on menu setup.
|
---|
21 |
|
---|
22 | v1.3.4: fixed pathClass bug as current path was not being restored. Still doesn't if using keyboard nav (will work on that).
|
---|
23 |
|
---|
24 | v1.4: store options objects in array $.superfish.o. Also provide public access to $.superfish.defaults
|
---|
25 | provided backward compat for jQuery versions less than 1.2 via oldJquery option - will use li[ul] or li:has(ul) as needed
|
---|
26 | added more callbacks, also added option to disable hoverIntent usage if that plugin is detected
|
---|
27 |
|
---|
28 | v1.4.1: fixed current path not being restored when using keyboard to tab away from the menu completely
|
---|
29 | optimised code further - now less code
|
---|
30 | removed addself() in favour of backward compatible add(this)
|
---|
31 | also remove new mouseenter/mouseleave events on window.unload (due to paranoia)
|
---|
32 |
|
---|
33 | v1.4.2: 3rd July 2008. added semi-colon at start of superfish.js file to avert script concatenation errors
|
---|
34 | added pathLevels option to limit the depth of submenus that get restored by pathClass
|
---|
35 | CSS of main example hugely simplified - other example CSS files less-so.
|
---|
36 | - top level menu items are not fixed width
|
---|
37 | - only need to set submenu widths in one place.
|
---|
38 | - various other improvements.
|
---|
39 | - class names used in all CSS files are changed to be less generic
|
---|
40 | released optional Supersubs plugin which dynamically adjusts submenu widths
|
---|
41 | attach everything to jQuery.fn.superfish to clean up jQuery namespace
|
---|
42 | removed the multi-tier-all-horizontal-example as it was never a great idea and doesn't seem to be in use
|
---|
43 | Update documentation text and remove certain caveats which were there to support users of much older versions of Superfish
|
---|
44 | Documentation now show how to apply bgIgrame 2.1 - it's much easier than before
|
---|
45 | Add all links and their focus and blur events to the onunload unbind - paranoid about memory leaks
|
---|
46 |
|
---|
47 | v1.4.3 5th July 2008. documentation completely redone using Mike Alsup's templates.
|
---|
48 | CSS revised so that all types of menu use superfish.css as a base. Include additional CSS files to acheive alternate styles.
|
---|
49 | class="sf-menu sf-vertical" creates vertical menu, class="sf-menu sf-navbar" creates nav-bar style menu
|
---|
50 |
|
---|
51 | v1.4.4 7th July 2008. arrows feature added. If option 'autoArrows' is true, auto-appends (spans) to anchors that have a ul submenu sibling,
|
---|
52 | and adds class 'sf-with-ul' to anchor.
|
---|
53 | CSS added to style new arrows, including an 8-bit alpha (NOT INDEXED!) transparent png of arrow - degrades to solid for IE6.
|
---|
54 | Manually add arrow mark-up to docs and disable autoArrows (via defaults option) to maintain decent performance (for docs page)
|
---|
55 | Update docs, including zip download, to suit.
|
---|
56 | Fix CSS bug that had the third tier of the navbar-style menu visible when JS not available.
|
---|
57 |
|
---|
58 | v1.4.5 9 July 2008. decreased code weight
|
---|
59 | added drop shadows for capable browsers - added css and 8-bit alpha transparent png image for shadow
|
---|
60 | remove support for jQuery v<1.2
|
---|
61 | remove unload clean-up which was there to solve garbage collection problems in early jQuery versions
|
---|
62 | remove toggling 'visibility' on hide and show which as a fix for an IE bug that is no longer exhibited
|
---|
63 | removed need for getOpts, rewrote getMenu
|
---|
64 | use [].join('') instead of string concatenation for performance increase - probably very slight in this case
|
---|
65 | change selector in 'over' function from '.'+o.hoverClass to 'li.'+o.hoverClass
|
---|
66 |
|
---|
67 | v1.4.6 added workaround for IE7 shadows. If animation alters opacity then shadow is hidden during the animation and appears after.
|
---|
68 | This required some JS and a line of CSS, so created shortcut references to lighten code further.
|
---|
69 |
|
---|
70 | v1.4.7 added back in the visibility toggle that was removed in 1.4.5 as the bug is indeed still exhibited by IE6 & 7
|
---|
71 | tweaked the look of the shadow slightly and use nicer 32bit png as I now find they behave the same as 8bit png with regard to fades in IE7
|
---|
72 |
|
---|
73 | v1.4.8 fix over-sight: using 32bit png meant that the shadow image did show in IE6. Rather than go back to 8bit, add code to exclude IE6 from getting shadow class.
|
---|
74 | use new folder structure recommended by Matt from TopicTrack, for easier updates. |
---|