Tom Christian Posted June 13, 2015 Posted June 13, 2015 I'm trying to enhance ipsMenu's slightly by adding css animations to when the menu's open and close.However, I've found that the _showMenu() method is too restrictive and is preventing me from applying any kind of CSS animation as there's no way of differentiating whether its open or closed. I blame this party down to using the show() jQuery method. It's pretty annoying for other devs as there's no class we can hook into with CSS. It's better (and faster) to add a class and then apply styles via CSS.I also had a look at hooking into the menuOpened & menuClosed events to add or remove my CSS class but they're fired at the end of the method so aren't a viable option for me.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.