Problem CSS Style Switcher (JS)

Hello erveryone
Im a new Computer Science Student from Switzerland. At the moment, we need to create a website. I now wanted to implement a CSS style switcher based on JavaScript. Made everything, opend the webpage from my harddrive, worked perfectly.I am able to switch the style without any problems. So I've uploaded it to my server

Switch Menu Help

Hello all!

I obtained a piece of code for a switch menu from this forum. However the topic was created years ago and it was locked. I'm using the following code on my site but I needed to know how it would be possible to have the submenus closed at the start instead of having them already open. Code below:

<style type="text/css">
.menuCategory {
	font-weight: bold;
	background-color: #F2F3F5;
	color: #036;
	padding: 2px;
  /*/*/border-top: 1px dashed #99ADC2;/* */
  /*/*/margin-top: 1px;/* */

Syndicate content