Forums › Forums › Search & Filter Pro › anchor tags and jquery scrollTop stopped working
- This topic has 7 replies, 2 voices, and was last updated 4 years, 8 months ago by
Trevor.
-
Trevor(Private) February 5, 2021 at 8:49 am #275347
Hi Ken
Before I reply, can I ask if you saw that we have a new support ticket system, which you would find here:
https://searchandfilter.com/account/support/
I was wondering if you tried that, and whether you had any difficulty with it?
These support forums will be closing to new tickets on the 8th February 2021 (that’s after this weekend) – existing tickets will be closed after a month.
Did you also upgrade WordPress around the same time? I ask because WordPress (and therefore our plugin) now uses jQuery 3.5.1, whereas before it was using jQuery 1.12.4
The two versions of jQuery are not always compatible, and so code that worked with one may not work with the other.
Anonymous(Private) February 5, 2021 at 2:57 pm #275371Hi Trevor,
Sorry I honestly cant remember where I filled out this ticket.
We did update WP at some point, it automatically does it for out site.
It is running jquery 3.5.1
I’ll look into updating the jquery code and see if that works.
As always thanks for the helpAnonymous(Private) February 5, 2021 at 6:53 pm #275422Hi Trevor
I looked into this, and all my other jquery code is working, it seems to be just the
$(‘html, body’).animate({
scrollTop:
function that is wonky. It’s not on the page with the Search& Filter form, but through out the site. any where I have an anchor tag that links to another section on that page.
I’m stumped, and cant figure another way to scroll to the link.any help will be appreciated
if you need access to the site I can give you log in rights.
let me know.
thanks,
Ken -
AuthorPosts