Multiple Lightbox forms placing on landingpage

Tomas_De_Koninc
Level 1

Multiple Lightbox forms placing on landingpage

Hi

I have multiple lightbox forms on a landingpage, integrated via javascript, that appear after a click on a button.

I'm just wondering what the solution would be, that after the click the page doesn't scroll to the top to display the form.

 

Thanks

Tomas

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Multiple Lightbox forms placing on landingpage

Does your button use href="#" as a placeholder? B/c that's an explicit jump-to-top link (it's not really harmless) unless you preventDefault().