XF 1.2 Navigation Bar Changes

Hello There.

I have recently been trying to implement a navigation bar feature onto my site, similar to as what can be found at http://mineplex.com. The feature I am refrencing to is the javascript when scrolling over each tab. Is it possible to implement this into my xenforo navigation bar, and if so, how would this be done?

(My navigation bar)

Thanks in advance.