When icon clicked, one field form slides out
Basically, i need help with one tiny thing.I have a menu with 4 links in it and a small email icon next to it.Here is the code
<li><a href="about.html">About Us</a> </li>
<img src="images/subscribe.png" width="22" height="22">
Now, when user clicks on this icon, i would need to make one filed form (for email) to slide out (left from icon) and allow user to enter his email and click send.Also, that form should be able to close when clicked again on the icon.
I know this is a lot of stuff, but is there somebody that could help? :\
I think this is just a few lines of JS/jQuery, but i dont know it , and i really really need help...