how would I make the categories expand when the site loads?
Printable View
how would I make the categories expand when the site loads?
This is found under Tools/Configuration/Layout Settings :
Categories - Always Open to Show SubCategories
Always Show Categories and SubCategories
0= off, just show Top Categories
1= on, Always show Categories and SubCategories when selected
Thanks
This works only when selected
is there a way to show all subcategories on page load so I don't have to click it to expend
Hi,
I've been searching for a contribution with this functionality for quite a while and it seems like i'm not the only one.
Most of the suggestions refers to dead links but eventually was able to locate a working contrib (even though there's a slightly annoying bug).
Just a suggestion to the ZC Team....
> This is found under Tools/Configuration/Layout Settings :
> Categories - Always Open to Show SubCategories
> Always Show Categories and SubCategories
> 0= off, just show Top Categories
> 1= on, Always show Categories and SubCategories when selected
Wouldn't it be useful and logical to have an extra option switch which displayed the categories fully expanded?
i.e.
2= on, show both Top Categories & Subcategories
Maybe the ZC Team can add this option in future upgrades (v1.3.x) or at least in v1.4 with the Modified PO Tree Traversal changes.
Thnx.
YM.
There is a recent topic about this.
Expanding the categories
Also another
Categories Menu, YahooTreeMenu With AJAX
Think that they can be all expanded with some code change, try it yourself.
.
Let me say as the author of the YahooTreeMenu With AJAX contribution. :)Quote:
Originally Posted by seethrou
I have made this menu without AJAX before this one with AJAX. I had not it published. :)
You can found it here:
http://zen-cart.org.ua/download/yaho...1.2.7_0.1b.zip
This one generates complete menu tree, not only top level and selected branch.
If you call expandAll() method of the tree object right before tree.draw() the TreeMenu will be expanded. :) (http://developer.yahoo.com/yui/docs/...html#expandAll)
Andrew.
how do i make my ajax menu to stay expandable
So has anyone solved this one? How do I make the AJAX version have the subcategories expanded upon the load of the main page?
Are you set on using this particular "AJAX" mod? Or do you just want the categories expanded? There are several more recent expanded categories mods; the one I have heard the most good reports about is fragfutter's Uncollapsed Categories Tree, available from his site and referenced in the forum thread of the same name.
My main issue with his and the default categories is that they are so ugly.
AJAX one is very pretty, but alas I have no idea how to make it expanded by default.