[Solved] Highlight The Menu [closed]

When calling view pass variable which will have $data[‘selectedItem’] = ”; $this->load->view(‘blogview’,$data); In blogview <li class=”<?php echo $selectedItem == ‘menuItem1’ ? ‘selected’ : ”; ?>”>menuItem1</li> <li class=”<?php echo $selectedItem == ‘menuItem2’ ? ‘selected’ : ”; ?>”>menuItem2</li> 0 solved Highlight The Menu [closed]

[Solved] CSS Button Highlight post click

Here is a fiddle that should do it in pure CSS. You will not be able to use actual buttons. But you can style the label as I have to look like buttons. NOTE: This will not work properly in older browsers such as IE8 http://jsfiddle.net/ghvst26b/ HTML <input type=”radio” name=”Button” class=”ButtonState” checked id=”Button1″ value=”1″/> <label … Read more