Last updated on January 17, 2018
Here is the simple tutorial On Twitter Like Login Box Show and Hide effect with JQuery, You can achieve this with fewer lines of code Using JQuery Events, and require some CSS to give styles.
Html Code :
Css Code :
;
jQuery code:
$(document).ready(function() { $('#singin').click(function(event){ event.preventDefault(); $('#signin_menu').toggle(); $('#singin').toggleClass('.box'); return false; }); $('#signin_menu').mouseup(function() { return false }); $(document).mouseup(function(){ $('#signin_menu').hide(); }); });
Please don’t forget to share and subscribe to latest updates on the blog. Also, any comments and feedback are all welcome!
Thanks!