Positioning with javascripted Nav Bar

Hey guys I’m struggling to complete my sliding Nav bar. The problem now is I don’t know how to change the tab images between sliding the bar out and back in (as seen in the picture). The image for folding it back in has to be inside the nav bar itself which is where I’m confused, could anyone help?

My link is here (with the help from Ketan) jsfiddle.net/6y90wkju/6/ (sorry have to copy and paste wont let me insert jsfiddle link without code)

Here’s a picture…
enter image description here

Source: html

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.