Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c930e92
Changed indenting to 1 tab for readability
T-Fletcher May 12, 2018
7cdef3b
Added option to specify expand/collapse link location
T-Fletcher May 12, 2018
535881c
Added option to specify expand/collapse link location
T-Fletcher May 12, 2018
d9af26d
Added 2 new options: meanSpeed and meanExpandPosition
T-Fletcher May 12, 2018
1d3aad0
Merge pull request #1 from T-Fletcher/meanExpandPosition-test-1
T-Fletcher May 12, 2018
101f69b
Added new options to readme file
T-Fletcher May 14, 2018
ee97578
Updated compressed version
T-Fletcher May 14, 2018
2b690c3
Minor formatting fixes, no code changes
T-Fletcher May 17, 2018
9ff1b5c
Updated compressed version
T-Fletcher May 17, 2018
6e93adc
2.0.9 - Updated with changes and explanation
T-Fletcher May 17, 2018
0392bc2
2.0.9
T-Fletcher May 17, 2018
beea6b9
Merge branch 'master' into meanExpandPosition-test
T-Fletcher May 17, 2018
b57b324
Merge pull request #2 from T-Fletcher/meanExpandPosition-test
T-Fletcher May 17, 2018
7cd5863
Merge pull request #3 from T-Fletcher/master
T-Fletcher May 17, 2018
ad39f17
Corrected bad merge
T-Fletcher May 17, 2018
a6f9a5c
2.0.10 Tweaked option description
T-Fletcher May 17, 2018
53dd313
2.0.10
T-Fletcher May 17, 2018
bf491a6
2.0.10
T-Fletcher May 17, 2018
4a4a695
2.0.10 - includes demo of new features
T-Fletcher May 17, 2018
55c1779
Merge pull request #4 from T-Fletcher/meanExpandPosition-test-1
T-Fletcher May 17, 2018
8354b76
2.0.10
T-Fletcher May 17, 2018
c6a15b3
2.0.11
T-Fletcher May 30, 2018
10345e5
2.0.11
T-Fletcher May 30, 2018
cf243c7
2.011
T-Fletcher May 30, 2018
0c0b2c8
2.0.11
T-Fletcher May 30, 2018
cee09a3
2.0.11
T-Fletcher May 30, 2018
c59f7a8
Merge pull request #5 from T-Fletcher/T-Fletcher-main-lib-2.0.11
T-Fletcher May 30, 2018
c2a20bc
Included meanAria details
T-Fletcher May 7, 2021
95423f7
Removed version notes
T-Fletcher May 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
MeanMenu v2.0.8
MeanMenu v2.0.11
===========

Looking for a WordPress version?
---
Our friends over at PluginHero have just released the <a href="http://pluginhero.com/portfolio/meanmenu/">WordPress version of MeanMenu</a>.
Expand Down Expand Up @@ -40,6 +39,10 @@ Then in your usual document.ready, this is working under the assumption your nav

There are the following options (Options are shown with their defaults)...

meanAria: true

- Adds `aria-expanded`, `aria-label` and `role` attributes for better accessibility and WCAG compliance

meanMenuContainer: 'body'

- Choose where meanmenu will be placed within the HTML
Expand Down Expand Up @@ -74,7 +77,7 @@ meanScreenWidth: "480"

meanNavPush: ""

- Set a height here in px, em or % if you want to budge your layout now the navigation is missing.
- Set a height here in px, em or % if you want to budge your layout now the navigation is missing

meanShowChildren: true

Expand All @@ -88,6 +91,14 @@ meanExpand: "+"

- single character you want to represent the expand for ULs

meanExpandPostion: "after"

- Set to either before or after to change where the expand/contract icon is inserted in the list markup. Useful for accessibility tweaks

meanSpeed: 300

- an integer that sets the speed of all animations in milliseconds. 1000 = 1 second

meanContract: "-"

- single character you want to represent the contract for ULs
Expand Down
6 changes: 5 additions & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ <h2><a href="http://www.meanthemes.com/our-themes/">Check out our WordPress &amp
<script src="jquery.meanmenu.js"></script>
<script>
jQuery(document).ready(function () {
jQuery('header nav').meanmenu();
jQuery('header nav').meanmenu({
meanExpandPosition: 'before',
meanSpeed: 200,
meanAria: true
});
});
</script>
</body>
Expand Down
Loading