Shape 5

Joomla Templates => Touch of Soul - Club => : joshuagen June 10, 2010, 07:33:32 AM



: accordion menu bugs
: joshuagen June 10, 2010, 07:33:32 AM
Hi I've the accordion menu that looks great on some pages, but not on others, it doesn't seem to know that its supposed to have the image background on the menu headers on some pages for some reason, and when it has no image background I can't expand the menu, so its all a bit odd really.

Screenshots attached





: Re: accordion menu bugs
: mikek June 10, 2010, 01:02:28 PM
Hello, please post a url of where this is occurring.


: Re: accordion menu bugs
: joshuagen July 02, 2010, 03:15:42 AM
Sorry no can do, I don't have the authorisation to show the offline site to anyone.


: Re: accordion menu bugs
: joshuagen July 02, 2010, 03:59:46 AM
I added this to the accordion menu css file

:
#s5_accordion_menu h3{
cursor: pointer;
font-size: 12px;
background:url(../images/s5_accordion_menu_back.png) no-repeat top left;
height:31px;
line-height:31px;
margin:3px 0px 3px 0px;
padding-left:30px;
}
and now I have the "button" images showing on the pages on which they weren't showing

The expand and collapse behaviour seems odd though.

If I click on a parent menu item I'm taken to the page and the submenu expands (internal link to article).... or I'm taken to the page and ALL the submenus expand ("external link" to url... although its still within the same site and the joomla ap, its just a particular view of a component, so I have to access it via an external url link).

If I click on a submenu item, I'm taken to the page and each time bar one, the menu collapses, which I would not have expected. There is no difference between these menu items other than the article they point to.



: Re: accordion menu bugs
: mikek July 02, 2010, 07:36:12 AM
Hello,

Please see the following and let me know if this works for you:

http://www.shape5.com/component/option,com_smf/Itemid,75/topic,10652.0/


: Re: accordion menu bugs
: joshuagen July 02, 2010, 10:55:21 AM
nope, I still don't have the expand/collapse behaviour I would've expected.



: Re: accordion menu bugs
: mikek July 02, 2010, 11:40:41 AM
Hello,

i am sorry but I'll have to the site live in order to help so I can see how the code is interacting. If you are able to get the site into a live test server I can look at it for you from there.