Kerstey
08-23-2010, 09:00 AM
Script: Bullet List Accordion Menu
http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm
Hi
I'm using the above and it's all working fine, but there's something that it doesn't do and I'm wondering whether it's possible to amend the script at all?
Obviously if you click on any of the buttons, they expand so show the sub list, but I'd like to know if it's possible for the buttons to have their own page as well as the expanding menu.
So for example, if I was to click on CSS Library, it would reveal the sub menu underneath, but also have it's own page from that button?
I did try the following:
<h3 class="menuheader expandable"><a href="a_page.html">CSS Library</a></h3>
<ul class="categoryitems">
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C1/">Horizontal CSS Menus</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/">Vertical CSS Menus</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C4/">Image CSS</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C6/">Form CSS</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C5/">DIVs and containers</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C7/">Links & Buttons</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C8/">Other</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/all/">Browse All</a></li>
</ul>
But it didn't work - I knew it wouldn't be that easy!
I hope I'm explaining myself clearly!
Any help would be greatly apreciated, thank you.
Kerstey :)
http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm
Hi
I'm using the above and it's all working fine, but there's something that it doesn't do and I'm wondering whether it's possible to amend the script at all?
Obviously if you click on any of the buttons, they expand so show the sub list, but I'd like to know if it's possible for the buttons to have their own page as well as the expanding menu.
So for example, if I was to click on CSS Library, it would reveal the sub menu underneath, but also have it's own page from that button?
I did try the following:
<h3 class="menuheader expandable"><a href="a_page.html">CSS Library</a></h3>
<ul class="categoryitems">
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C1/">Horizontal CSS Menus</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/">Vertical CSS Menus</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C4/">Image CSS</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C6/">Form CSS</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C5/">DIVs and containers</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C7/">Links & Buttons</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C8/">Other</a></li>
<li><a href="http://www.dynamicdrive.com/style/csslibrary/all/">Browse All</a></li>
</ul>
But it didn't work - I knew it wouldn't be that easy!
I hope I'm explaining myself clearly!
Any help would be greatly apreciated, thank you.
Kerstey :)