Drop Down Menu Apple style |
| Written by kksou | ||||
| Thursday, 09 October 2008 | ||||
|
The Drop Down Menu Apple style is a very neat and cool javascript-based drop down menu provided by dynamicdrive.com. Unique Features
Note that you might find that the plugin does not work right out of the box. You might need to tweak the css file a bit. However, after trying out numerous Drop Down Menus out there, I find that this is one of the better implementations that are free. The code is relatively light-weight. The interface is clean and responsive. And it supports infinite levels of sub menus! (If you see something that is even better, let me know...) That's why I still decide to go ahead and release this plugin. I would suggest you try this on a standard Joomla installation first (Joomla 1.0 ot Joomla 1.5). Once it works on your site, you can switch to your template and see if it works. If it doesn't, then follow some of the suggestions below to tweak the css file. Latest Versionv1.5.6 (for Joomla 1.5), v1.6.6 (for Joomla 1.6), v1.7.6 (for Joomla 1.7) and v2.5.6 (for Joomla 2.5) Released Feb 25, 2012
DemoThe follow shows a live multi-level drop down menu. Play with it to have a feel of the menu in action. Sample CodeYou may use the sample code below to try out the menu. After installing the plugin, just copy and paste the following into your content item and you should see the menu:
{DropDown_Menu_Apple_style}
<a href="test1.html">Test1</a>
+ <a href="#">Item 1a</a>
+ <a href="#">Item 2a</a>
+ <a href="#">Item Folder 3a</a>
++ <a href="#">Sub Item 3.1a</a>
++ <a href="#">Sub Item 3.2a</a>
++ <a href="#">Sub Item 3.3a</a>
++ <a href="#">Sub Item 3.4a</a>
+ <a href="#">Item 4a</a>
+ <a href="#">Item Folder 5a</a>
++ <a href="#">Sub Item 5.1a</a>
++ <a href="#">Item Folder 5.2a</a>
+++ <a href="#">Sub Item 5.2.1a</a>
+++ <a href="#">Sub Item 5.2.2a</a>
+++ <a href="#">Sub Item 5.2.3a</a>
+++ <a href="#">Sub Item 5.2.4a</a>
+ <a href="#">Item 6a</a>
<a href="test2.html">Test2</a>
+ <a href="#">Item 1b</a>
+ <a href="#">Item 2b</a>
+ <a href="#">Item Folder 3b</a>
++ <a href="#">Sub Item 3.1b</a>
++ <a href="#">Sub Item 3.2b</a>
++ <a href="#">Sub Item 3.3b</a>
++ <a href="#">Sub Item 3.4b</a>
+ <a href="#">Item 4b</a>
+ <a href="#">Item Folder 5b</a>
++ <a href="#">Sub Item 5.1b</a>
++ <a href="#">Item Folder 5.2b</a>
+++ <a href="#">Sub Item 5.2.1b</a>
+++ <a href="#">Sub Item 5.2.2b</a>
+++ <a href="#">Sub Item 5.2.3b</a>
+ <a href="#">Item 6b</a>
<a href="test3.html">Test3</a>
<a href="http://www.kksou.com">Test4</a>
+ <a href="test31.html">test4.1</a>
+ <a href="test32.html">test4.2</a>
+ <a href="test33.html">test4.3</a>
{/DropDown_Menu_Apple_style}
DownloadExtremely Important: Please make sure you read the Read Me First! if you want to make this plugin work. Joomla 1.0.x: DropDownMenuApplestyle_v1.05.zip
Joomla 1.5.x: DropDownMenuApplestyle_v1.56.zip Joomla 1.6.x: DropDownMenuApplestyle_v1.66.zip Joomla 1.7.x: DropDownMenuApplestyle_v1.76.zip Joomla 2.5.x: DropDownMenuApplestyle_v2.56.zip How to install (Joomla 1.0.x)
You are now ready to use this plugin! How to install (Joomla 1.5.x)
You are now ready to use this plugin! Read Me First!As mentioned earlier, the original code was from dynamicdrive.com. What I've done is to wrap the original code into a Joomla plugin so that you can display the menu within a Joomla article. The installer on this page will work with the standard Joomla template. However, I find that the css codes sometimes do not work with some of the Joomla templates. If this is the case for you, don't worry. The javascript code itself is ok. You should actually see the menus and submenus displayed. But it might not be positioned in the right place. You might need to modify a couple of lines in the css files of the plugin to make it work. To modify the css files, please refer to: Customizing the menu with CSS How to use the "Drop Down Menu Apple style" pluginImportant: If you're using Joomla 1.5.8, please refer to the article:How to enter HTML tags, javascript and PHP codes in Joomla 1.5.8? For Joomla 2.5, please refer to: How to enter HTML tags, javascript and PHP codes in Joomla 2.5? Otherwise you might find that all your HTML tags, Javascript and PHP scripts will be removed the moment you click the Save or Apply button.
{DropDown_Menu_Apple_style}
... menu items ...
{/DropDown_Menu_Apple_style}
{DropDown_Menu_Apple_style menutype:sidebar}
... menu items ...
{/DropDown_Menu_Apple_style}
You can see a Live Demo here.
{DropDown_Menu_Apple_style}
<a href="test1.html">Test1</a>
+ <a href="#">Item 1a</a>
+ <a href="#">Item 2a</a>
+ <a href="#">Item Folder 3a</a>
++ <a href="#">Sub Item 3.1a</a>
++ <a href="#">Sub Item 3.2a</a>
++ <a href="#">Sub Item 3.3a</a>
++ <a href="#">Sub Item 3.4a</a>
+ <a href="#">Item 4a</a>
+ <a href="#">Item Folder 5a</a>
++ <a href="#">Sub Item 5.1a</a>
++ <a href="#">Item Folder 5.2a</a>
+++ <a href="#">Sub Item 5.2.1a</a>
+++ <a href="#">Sub Item 5.2.2a</a>
+++ <a href="#">Sub Item 5.2.3a</a>
+++ <a href="#">Sub Item 5.2.4a</a>
+ <a href="#">Item 6a</a>
{/DropDown_Menu_Apple_style}
{Accordion_Menu_Apple_style}
<a href="http://www.site1.com/links" target=_blank>Links</a>
+ <a href="http://www.google.com" target=_blank>Google</a>
+ <a href="http://www.yahoo.com" target=_blank>Yahoo</a>
+ <a href="http://www.joomla.org/" target=_blank>Joomla</a>
{/Accordion_Menu_Apple_style}
{DropDown_Menu_Apple_style clear_both:1}
... menu items ...
{/DropDown_Menu_Apple_style}
Menu 1 definition:
{DropDown_Menu_Apple_style menu_id:menu1}
... menu items ...
{/DropDown_Menu_Apple_style}
Menu 2 definition:
{DropDown_Menu_Apple_style menu_id:menu2}
... menu items ...
{/DropDown_Menu_Apple_style}
Customizing the menu with CSS
There are 3 css files: Version History
You can now display two or more menus in the same content item!. Fixed the warning message "Undefined property: Plugin_DropDownMenuApplestyle::$menu_height in DropDownMenuApplestyle.lib.php on line 126" Conforms to joomla.org guidelines. Questions? Problems?If you still have problems getting the plugin to work with your templates, feel free to post your questions in the Forum. |
||||
| < Prev | Next > |
|---|





Comments
{DropDown_Menu_ Apple_style}
... menu items ...
{/DropDown_Menu_A pple_style}
This is a plugin. As the name suggests, a plugin is for use within a Joomla article.
So go to the Article Manager, create a new article and insert the tags or code you've listed above into the article. You will see the menu appearing within the article.
Regards,
/kksou
This is a plugin. As the name suggests, a plugin is for use within a Joomla article.
This plugin is used for displaying a simple menu within an article - especially if the article is very long.
If you want to achieve something like the top of this page is doing - navigation bar with drop down menus, this is done in the Joomla template, and not by a plugin or module.
Regards,
/kksou
RSS feed for comments to this post