I read and I'm trying to switch the screen to a div that is switching. It is located at the bottom of my site, so when you switch the contact form, you cannot say that it is, unless you scroll down.
I have this jQuery snippet that doesn't seem to work
//contact toggle $("#show-con").click(function(){ $("#contact-wrap").slideToggle("slow"); $("#contact-wrap").animate({scrollTop: $("#contact-wrap").offset().top}); });
The switch works fine, but it will not scroll to the div.
I read some old articles here, but, unfortunately, they are not related to sites that are no longer active.
source share