I'm trying to do something that should be rather simple, but I can't get it to work. Basically, I want an expandable menu, but I don't want it to be dynamic. I'd like to have the sub-menu's load for every page, but if they are a part of the "closed" class to not display. If they have class="open", then display like normal. It's working on Firefox, but IE seems to have problems with the nested lists. Here is my code:
The opened and closed classes basically contain display:block and display:none respectively.Code:<ul class="navigation"> <li><a href="">Academics</a></li> <ul class="closed"> <li><a href="">Colleges and Schools</a></li> </ul> <li><a href="">Admissions</a></li> <ul class="opened"> <li><a href="">Apply Now!</a></li> <li><a href="">Undergraduate Admissions</a></li> <li><a href="">Graduate Admissions</a></li> <li><a href="">International Admissions</a></li> </ul> <li><a href="">Financial Information</a></li> <li><a href="">Housing</a></li> <li><a href="">Campus Life</a></li> <li><a href="">Student Services</a></li> <li><a href="">First Year Experience</a></li> <li><a href="">About the University</a></li> </ul>









Bookmarks