Menu icon Foundation
Jump to ID-tag after opening a modal

Hi, in index.html on a button click, I would like to open a reveal modal and then jump to an ID-tag therein. However, I cannot figure out the jQuery code for it. My problem seems to be that I do not handle the modal correctly.
I also tried it with https://github.com/kswedberg/jquery-smooth-scroll, because it allows to scroll any div-element.
Unfortunately, both without any success.

Can somebody help? Many thanks.

revealmodalsmooth-scroll

Hi, in index.html on a button click, I would like to open a reveal modal and then jump to an ID-tag therein. However, I cannot figure out the jQuery code for it. My problem seems to be that I do not handle the modal correctly.
I also tried it with https://github.com/kswedberg/jquery-smooth-scroll, because it allows to scroll any div-element.
Unfortunately, both without any success.

Can somebody help? Many thanks.