Zen Cart Logo
Forums / Addon Sideboxes / Click-Show-Hide Category Menu sidebox help

Click-Show-Hide Category Menu sidebox help

Locked

Views: 2,863

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Aug 2008, 8:17 PM
#1
critchey1 avatar

critchey1

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Click-Show-Hide Category Menu sidebox help

Hi all,

I'm trying to implement the show/hide css menu, which can be found here http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=872.

Here is the site I have it built into http://www.justcamp.com/index2.php

I've got it all setup, however I'm running into a weird bug where if you click on the Top level category "Arctic Shield" and then try to click on one of the lower top level categories such as "Sleeping Bags" or "Stoves" the Arctic Shield category bugs out and doesn't close.

If I change the sort order of the arctic shield category to make it closer to the other categories which open and close, the problem goes away.

Has anyone used this sidebox, and ran into this problem?

19 Aug 2008, 9:05 PM
#2
critchey1 avatar

critchey1

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: Click-Show-Hide Category Menu sidebox help

changed the url

should be viewable at https://www.justcamp.com

20 Aug 2008, 2:31 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Click-Show-Hide Category Menu sidebox help

All cats that have the ">>" after them indicating they have items inside of them appear to expand correctly???

Is there some that do not have the >> that also have products in them that are not displaying correctly??

BTW You site is Down for Maintenance to the general public

20 Aug 2008, 2:46 PM
#4
critchey1 avatar

critchey1

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: Click-Show-Hide Category Menu sidebox help

No all the cats that have the » expand fine, that's not the problem. The JavaScript which causes the categories to auto hide when you expand another category bugs out however in certain scenarios. Such as when you click the first expandable category "Arctic Shield" and then open another at the very bottom of the menu such as "Tents/Shelters/Canopies". The "Arctic Shield" category should auto hide, but it doesn't.

If you reverse the method however, it works fine. For example opening "Tents/Shelters/Canopies" first, and then opening "Arctic Shield". The Tents Category hides as it should and the arctic section opens.

It seems to only do this if you click the "Arctic Shield" section first and try to open one of the lower categories. If I change the sort order of the categories to make "Arctic Shield" farther down the list... nearer to the other expandable categories the problem goes away.

21 Aug 2008, 12:55 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Click-Show-Hide Category Menu sidebox help

Can not view this with it down for maint