/ Published in: Pseudocode
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
ITEMS
1,2,3
STATES
activeButton
clickedButton
ITERATOR
iterateThroughNav
ACTION
if(active && clicked || !active && !clicked) = do nothing
if(!active && clicked) = setActive
if(active && !clicked) = unsetActive
Comments
 Subscribe to comments
                    Subscribe to comments
                
                