Check out code here!
These are my problems:
-
Div won’t toggle to hide when self is clicked, only when i click another. ( edit: or basically anywhere )
-
All divs that are supposed to be hidden blink in when page is loaded and then disappear. Any way to avoid that? ( solved it! css display:none;)
-
The clicked div should keep its highlighted background color until another or self is clicked. Can’t figure that one out.
-
(on the side) when i open the page on the ipad, the menu_row keeps its :hover backgroundcolor when clicked. That is ok, but when self is clicked and the showed div retracts it should revert to gray. Possible?
1.
Demo: http://jsfiddle.net/jasper/XcJwW/17/
3.
This requires a small tweak to your CSS:
Notice the user can either
hoverover one of these elements or you can give the element thehoverclass, both will have the same outcome.Demo: http://jsfiddle.net/jasper/XcJwW/20/