Aaron Posted April 1, 2012 Report Share Posted April 1, 2012 I'm completely redesigning my website, I want a sidemenu with a submenu that expands when clicked. I know how to make the submenu in HTML and I know the basics of CSS, but I have no clue how to do this javascript stuff. Can someone please help me out. I want it to look exactly like the original canforce site, see their left sidebar: http://www.rcaf-arc.forces.gc.ca/v2/index-eng.asp and my progress (sidebar not there, failed at it): www.canforce.org (also we're not stealing their banner, it there temporarily until our EC finishes ours) Quote Link to comment Share on other sites More sharing options...
Jon Posted April 2, 2012 Report Share Posted April 2, 2012 Those are known to many as "accordian" menu bars. Here's an example of one with the code etc that you can have a look through: http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-glossy.htm Jon Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted April 2, 2012 Moderators Report Share Posted April 2, 2012 This is the one I would use becasue it's based off from Jquery UI. http://jqueryui.com/demos/accordion/ Quote Link to comment Share on other sites More sharing options...
Aaron Posted April 2, 2012 Author Report Share Posted April 2, 2012 Thankyou both very much, I took a quick look at the links and I'll give it a try later tonight when I got more time. I'll let you know how it turns out Quote Link to comment Share on other sites More sharing options...
Aaron Posted April 2, 2012 Author Report Share Posted April 2, 2012 Perfect, I used the first one because the second one has to have one of the accordions open all the time. It works, just have to style it and put in links. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.