Posted By

predikt on 07/06/11


Tagged

navigation state active tabs nav on


Versions (?)

pseudo code for active state on nav


 / Published in: Pseudocode
 

  1. ITEMS
  2. 1,2,3
  3.  
  4. STATES
  5. activeButton
  6. clickedButton
  7.  
  8. ITERATOR
  9. iterateThroughNav
  10.  
  11. ACTION
  12. if(active && clicked || !active && !clicked) = do nothing
  13. if(!active && clicked) = setActive
  14. if(active && !clicked) = unsetActive

Report this snippet  

You need to login to post a comment.