Hello Guys,
in the ezpages, i need a tab called categories with the drop down menu.
This particular website is developed in Zencart.
Your suggestions/recommendations in this regard, would be of great help to us
Hello Guys,
in the ezpages, i need a tab called categories with the drop down menu.
This particular website is developed in Zencart.
Your suggestions/recommendations in this regard, would be of great help to us
To be more clear, here are my requirements
Requirements:
Functionality:
- dynamic drop-down menu using CSS, Javascript, Ajax (any or one) for an existing Zen Cart installation.
- At rest, the menu shows the top-level categories
- Upon mouse-over - subcategories drop down
- Upon further mouse-over on subcategories, additional subcategories (if any) drop down
- The menu must be dynamic in that is must pull category names and links from the Zen Cart system so that additional subcategories will automatically update the menu like the normal category menu updates.
How can i do this to the website....![]()
Last edited by samuelbarnaby; 21 Apr 2011 at 03:23 PM.
Do you mean you want this in the ez-page content in the center column? You can't do that, as the menu needs PHP to build it, and ez-pages don't handle PHP. Why do you feel the menu needs to be in the content and not in the header?
You could make the header dropdown menu only appear when you are on an ez-page; that is a simple if() test to put in the tpl_header.php code.
You could even use CSS positioning to make that menu appear to be at the top of the center column instead of the header. And there is no need to use js or Ajax for it, as CSS is fully capable of handling the dropdown.
Not to mention that there is already at least one fully functioning mod in Free Addons for the dropdown in the header.