Would this be of any help at all??

https://html-online.com/articles/ani...nction-jquery/