It took me a week of hard work to implement this effect into WordPress. Some CSS rules were added, others slightly modified and some of them completely removed ! The JS is not the same at all ! The original effect is triggered with a function by clicking on a search input. This function relies on another script (classie – class helper functions) to get the job done. I’ve removed them and created a simple jQuery file that does the same job with 104 lines less code !
I hope that this plugin will be useful for everyone using it. If you try it, don’t be shy and give me you feedback on the repo 🙂