Accordion Menu / Posts /

Scrolling the sub menus

41
Do you have any suggestions for scrolling with in a sub category? These crazy people want to put a few dozen topics into one sub section. This makes the menu go off the page. 
Just wondering if there is a  quick fix.
Seth  11 years ago   viewed: 15622    

5 Answers

0
<li id="li22"><a href="#"> Second level category</a> //This add open all menu item help please <ul> <li> <div class="level3scroll" style="height:100px;overflow:auto;"> <a href="#">Hi</a><br/><a href="#">there</a><br/> <a href="#">this</a><br/><a href="#">is</a><br/> <a href="#">jst</a><br/><a href="#">dm</a><br/> <a href="#">offf</a><br/><a href="#">pkcc</a><br/> <a href="#">lppt</a><br/><a href="#">nnn</a><br/> <a href="#">vvv</a><br/><a href="#">sss</a> </div> </li> </ul> </li>.
Erol   10 years ago
-2
Yes if you read the documentation carefully you will know that the submenu items are all opened intentionally if their caption is a link. Otherwise the submenu will not be accessible (clicking the link will navigate away to other pages).
Milo   10 years ago
-4
Set the expand property to be "full" in the menu's script accordionmenu.js.
milo   11 years ago
-1
Interesting is there a way to have it only scroll on third level menus?
I know that's a stretch....
Seth   11 years ago
-3
Re-write your third level menu in the following way. And defining its overflow as auto will do the trick.
HTML:
<li id="li22">Second level category <ul> <li> <div class="level3scroll" style="height:100px;overflow:auto;"> <a href="#">Hi</a><br/><a href="#">there</a><br/> <a href="#">this</a><br/><a href="#">is</a><br/> <a href="#">jst</a><br/><a href="#">dm</a><br/> <a href="#">offf</a><br/><a href="#">pkcc</a><br/> <a href="#">lppt</a><br/><a href="#">nnn</a><br/> <a href="#">vvv</a><br/><a href="#">sss</a> </div> </li> </ul> </li>
CSS:
.level3scroll a {color:green;}
milo   11 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: