Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 07-11-2008, 09:42 PM
tpilgrim tpilgrim is offline
New Comer (less than 5 posts)
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow DD accordion with no sublink

ddaccordion


http://www.209.12.23.25/aboutus.aspx


this is an awesome script. However, I have run into a small "bug","feature". When the first top level link has no sub links, and another top level does, when you mouse over the first top level link, it expands the 2nd top level sub menu.

I have tried to work on this, but have not figured it out.

I would like the menu to do::

If a top level link has no sub menu, if you mouse over it, it does NOT expand the next sub menu in line, being the next toplevel's submenu.

Any Ideas? thanks for the help
Reply With Quote
  #2  
Old 07-11-2008, 10:20 PM
ddadmin's Avatar
ddadmin ddadmin is offline
Administrator
 
Join Date: Aug 2004
Posts: 7,627
Thanks: 2
Thanked 639 Times in 629 Posts
Blog Entries: 13
Default

Warning: Please include a link to the DD script in question in your post, in this case: http://www.dynamicdrive.com/dynamici...daccordion.htm. See this thread for the proper posting format when asking a question.

Your URL doesn't work for me. Regarding your question, if a top level link has no sub menus, then just make sure it's not part of an accordion contents group (specified using a shared CSS class name). For example, there are two headers below, the first one not part of the group:

Code:
<h3>Dogs</h3>

<h3 class="mypets">Cats</h3>
<div class="thepet">
The Cat, also known as the Domestic Cat or House Cat to distinguish it from other felines, is a small carnivorous species of crepuscular mammal that is often valued by humans for its companionship and its ability to hunt vermin. It has been associated with humans for at least 9,500 years.
</div>
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:14 AM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.