Lottie Animation in div block

Is there a way to scroll a Lottie animation within a div block without scrolling the whole page or to scroll the whole page only when the Lottie animation is finished? Thanks for ideas.


Here is my public share link: LINK
(how to access public share link)

Hi, this question is confusing. Can you show an example?