Apraksts
When creating a menu under the “Appearance -> Menus” tab it allows you to double click to expand and collapse a menu tree.
This is particularly useful for large menus or menus with many different sub trees that take up screen space.
Minimized menus will be saved as a cookie so when you return they should be minimized again.
Requirements
- Javascript is required.
- A browser that supports the :after CSS selector is required to show the minimized indicators (IE7 and IE8 may not show them).
Future releases:
- Images to show collapsed menus rather than just a blue marker.
- Double-click visual feedback.
- your ideas!
Uzstādīšana
Drop into either your /mu-plugins/ directory, or your plugins directory and activate it.
- Upload the
expandable-menus
directory to the/wp-content/plugins/
directory, or the/wp-content/mu-plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress (if placed in the the
/wp-content/plugins/
directory) - Create a menu with some children elements and double click the parent.
BUJ
- None yet
- Why isn’t this working?
-
- Have you tried double clicking? A lot of people dont understand you have to double click to minimize as there wasn’t initially an indicator telling you to do so.
Atsauksmes
Autori un izstrādātāji
“Expandable Menus” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Expandable Menus” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- First Release.
1.1
- Fixed icon alignment issue.
2.0
- Revamped javascript.
- Supports over 200 menus now.
- Different indicators on hover and when minimized
- Saves minimized menus in a cookie so you don’t have to minimize every time the page is loaded.
2.1
- Addresses a javascript error, see support forum.